RepeatCommand class

Builds the command line to repeat: the run's arguments plus one option.

Constructors

RepeatCommand({required String tool, required String command, List<String> given = const []})
tool and command as typed (buildkit, :ws-push); given the run's other arguments as typed. A chosen repository-list option merges with the same option already given (--skip a + b -> --skip a,b).
const

Properties

command → String
final
given → List<String>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tool → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withOption(MessageOption option, {String? repoName, String? value}) → String
The command line with option for repoName (a repository-list option), value (a value option) or alone (a run option).

Operators

operator ==(Object other) → bool
The equality operator.
inherited