Command class abstract
- Mixed-in types
- Implementers
Constructors
- Command()
Properties
-
acceptedFlags
→ List<
String> -
no setter
-
alias
→ List<
String> -
no setter
-
args
↔ List<
String> -
all arguments
getter/setter pairinherited
-
children
→ List<
Command> -
children command
no setter
- codeSample → String?
-
no setter
- commandName → String
-
no setter
-
flags
↔ List<
String> -
all flags
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
hint for command line
no setter
- maxParameters → int
-
no setter
- name → String
-
return parameter
name
no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
return parameter
type
no setterinherited
Methods
-
containsArg(
String flag) → bool -
return
true
if contains flagsinherited -
execute(
) → Future< void> - execute command
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited