CommandInformation class final

Information about the context of execution of a command line prompt.

Constructors

CommandInformation(Command command, String argument, List<Flag> flags)

Properties

argument String
final
command Command
final
flags List<Flag>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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