Help
class Help extends CommandSet
Class Help
Properties
protected Console | $console | from CommandSet | |
protected CommandDefinition[] | $commandDefinitions | from CommandSet |
Methods
array
getGlobalOptions()
No description
registerCommandDefinition(string $name, string $definition)
Registers the command definition by creating a new instance, saves as internal property and return it for further definition.
from
CommandSet
void
void
setupCommandDefinitions()
No description
Details
in
CommandSet at line 29
__construct(Console $console)
CommandSet constructor.
in
CommandSet at line 67
CommandDefinition
getCommandDefinition(string $command)
No description
in
CommandSet at line 87
array
getCommandDefinitions()
No description
at line 127
protected array
getGlobalOptions()
No description
in
CommandSet at line 119
protected ConsoleLogger
getLogger()
No description
in
CommandSet at line 80
bool
hasCommandDefinition(string $name)
No description
in
CommandSet at line 100
protected CommandDefinition
registerCommandDefinition(string $name, string $definition)
Registers the command definition by creating a new instance, saves as internal property and return it for further definition.
in
CommandSet at line 130
protected XF
requireXF(array $skips = [], array $instantiationClosures = [])
No description
in
CommandSet at line 44
void
runCommand(Input $input, Output $output)
No description
at line 35
void
runHelp(Input $input, Output $output)
Prints a list of arguments and options for given command.
Instantiates the current command to retrieve its command definition which is used for printing the help.
at line 19
void
setupCommandDefinitions()
No description