VersionCommand class

Inheritance

Constructors

VersionCommand()

Properties

acceptedFlags List<String>
no setterinherited
alias List<String>
no setteroverride
args List<String>
all arguments
getter/setter pairinherited
children List<Command>
children command
no setterinherited
codeSample String
no setteroverride
commandName String
no setteroverride
flags List<String>
all flags
getter/setter pairinherited
fromArgument String
return parameter from
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hint String?
hint for command line
no setteroverride
maxParameters int
no setteroverride
name String
return parameter name
no setterinherited
onCommand String
return parameter on
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
return parameter type
no setterinherited
withArgument String
return parameter with
no setterinherited

Methods

containsArg(String flag) bool
return true if contains flags
inherited
execute() Future<void>
execute command
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() bool
validate command line arguments
override

Operators

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