CommandHelp class final
The formatter and the registry an Executor resolved an invocation to.
It is how a group answers a question it has no inputs for. A group selected without a child under it has nothing of its own to run, so it renders registry and lets the reader see the children they can pick.
Constructors
- CommandHelp(HelpFormatter formatter, CommandRegistry registry)
Properties
- formatter → HelpFormatter
-
Renders help the way the application configured it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registry → CommandRegistry
-
The registry the command line resolved to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
) → String - Renders all visible help for registry.
-
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