AFHelpCommand class

The command that handles 'help ...' commands.

Inheritance

Constructors

AFHelpCommand()

Properties

description → String
final
descriptionHeader → String
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
nameOfExecutable → String
no setterinherited
optionsHeader → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subcommands → Map<String, AFCommand>
finalinherited
usage → String
final
usageHeader → String
no setterinherited

Methods

addSubcommand(AFCommand cmd) → void
inherited
convertToPrefix(String value, String suffix) → String
inherited
errorIfNotProjectRoot(AFCommandContext ctx) → bool
override
execute(AFCommandContext context) → Future<void>
override
finalize() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printFullUsage(AFCommandContext ctx) → void
run(AFCommandContext ctx) → Future<void>
Override this to implement the command. The first item in the list is the command name.
inherited
throwUsageError(String error) → Never
inherited
toString() → String
A string representation of this object.
inherited
verifyAllLowercase(String value) → void
inherited
verifyAllUppercase(String value) → void
inherited
verifyDoesNotEndWith(String value, String excluded) → void
inherited
verifyEndsWith(String value, String endsWith) → String
inherited
verifyEndsWithOneOf(String value, List<String> suffixes) → void
inherited
verifyMixedCase(String value, String valueKindInError) → void
inherited
verifyNotEmpty(String value, String msg) → void
inherited
verifyNotGenerateConflict(String itemName, List<String> invalidSuffixes, String subcommand) → void
inherited
verifyNotOption(String value) → void
inherited
verifyOneOf(String value, List<String> oneOf) → void
inherited
verifyUsageOption(String value, List<String> options) → void
inherited

Operators

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