TaskArgs class
Any arguments passed into the task from the command line.
The arguments could be in the form of flags (grind foo --release) or flags
(grind foo --config=bar).
Constructors
-
TaskArgs(String taskName, List<
String> arguments)
Properties
-
arguments
→ List<
String> -
The original list of arguments that were parsed.
final
- taskName → String
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
getFlag(
String name) → bool -
getOption(
String name) → String -
hasFlag(
String name) → bool -
hasOption(
String name) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited