Help class
Framework\CLI\Commands\Help
Class Help.
Extends Framework\CLI\Command
Defined in libraries/cli/src/Commands/Help.php
Properties #
$name
protected string $name = 'help'
$usage
protected string $usage = 'help [command_name]'
Methods #
getDescription()
public function getDescription(): string
Returns
string
run()
public function run(): void
Returns
void
setColor()
protected function setColor(string $text): string
Parameters
- string $text
Returns
string
showCommand()
protected function showCommand(string $commandName): void
Parameters
- string $commandName
Returns
void
sortOptions()
protected function sortOptions(string $text): string
Parameters
- string $text
Returns
string
Inherited methods #
-
__construct()fromFramework\CLI\Command -
getConsole()fromFramework\CLI\Command -
setConsole()fromFramework\CLI\Command -
getName()fromFramework\CLI\Command -
setName()fromFramework\CLI\Command -
getGroup()fromFramework\CLI\Command -
setGroup()fromFramework\CLI\Command -
setDescription()fromFramework\CLI\Command -
getUsage()fromFramework\CLI\Command -
setUsage()fromFramework\CLI\Command -
getOptions()fromFramework\CLI\Command -
setOptions()fromFramework\CLI\Command -
isActive()fromFramework\CLI\Command -
activate()fromFramework\CLI\Command -
deactivate()fromFramework\CLI\Command