CommandInformation class final
Information about the context of execution of a command line prompt.
Constructors
-
CommandInformation(Command command, String argument, List<
Flag> flags)
Properties
Methods
-
formatSyntax(
) → String - Returns a help message describing usage and available flags.
-
getFlag<
T> (String name) → Flag< T> - Retrieves a flag by name and casts it to type T.
-
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