Class Kitab\Bin\Welcome
class Welcome extends Hoa\Console\Dispatcher\Kit
{
public function run(): int;
public function usage();
}
This kitab
sub command is run when no sub command is specified.
Attributes
protected $options = [['list', \Hoa\Console\GetOption::NO_ARGUMENT, 'l'], ['help', \Hoa\Console\GetOption::NO_ARGUMENT, 'h'], ['help', \Hoa\Console\GetOption::NO_ARGUMENT, '?']];
-
Options description.
private $_subCommands = ['compile' => 'to compile the documentation into static HTML files', 'test' => 'to test the documentation'];
Methods
-
public function run(): int
-
The entry method.
-
public function usage()
-
Print help.