$group
$group :
CI Help command for the spark script.
Lists the basic usage information for the spark script, and provides a way to list help for other commands.
$logger : \Psr\Log\LoggerInterface
The Logger to use for a command
$commands : \CodeIgniter\CLI\CommandRunner
Instance of the CommandRunner controller so commands can call other commands.
__construct(\Psr\Log\LoggerInterface $logger, \CodeIgniter\CLI\CommandRunner $commands)
BaseCommand constructor.
\Psr\Log\LoggerInterface | $logger | |
\CodeIgniter\CLI\CommandRunner | $commands |
padTitle(string $item, integer $max, integer $extra = 2, integer $indent) : string
Pads our string out so that all titles are the same length to nicely line up descriptions.
string | $item | |
integer | $max | |
integer | $extra | // How many extra spaces to add at the end |
integer | $indent |