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
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskName String
final

Methods

getFlag(String name) bool
getOption(String name) String?
hasFlag(String name) bool
hasOption(String name) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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