$_name
$_name : string
Name of the subcommand
An object to represent a single subcommand used in the command line.
Created when you call ConsoleOptionParser::addSubcommand()
$_parser : \Cake\Console\ConsoleOptionParser
The ConsoleOptionParser for this subcommand.
__construct(string|array $name, string $help = '', \Cake\Console\ConsoleOptionParser|array|null $parser = null)
Make a new Subcommand
string|array | $name | The long name of the subcommand, or an array with all the properties. |
string | $help | The help text for this option. |
\Cake\Console\ConsoleOptionParser|array|null | $parser | A parser for this subcommand. Either a ConsoleOptionParser, or an array that can be used with ConsoleOptionParser::buildFromArray(). |
parser() : \Cake\Console\ConsoleOptionParser|boolean
Get the usage value for this option
Either false or a ConsoleOptionParser
Loading…