CliSubCmdParser class
Class to break command-line arguments into a sub-command and its arguments
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
exec(
List< String> args, {CliOptSubCmdMap? map}) → bool - Check the first argument is a sub-command and execute the parser mapped to that