You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a program with the run command, how to set it as the default command?
My code:
$this->beginCommand('run')
->markDefault()
->setDescription('Run analizer metrics')
->setHandler(new \Insphptor\Program\Commands\RunCommand())
->beginSubCommand('export')
->setHandlerMethod('export')
->setDescription('Export result in ' . config()['export'] . ' file')
->addArgument('view', Argument::OPTIONAL, 'The view system', 'default')
->addOption('open', 'o', Option::BOOLEAN, 'Open server with result in view')
->end()
->end();
The markDefault no work, has alternative for it?
The text was updated successfully, but these errors were encountered:
Hi, thanks for the library!
I have a program with the
run
command, how to set it as the default command?My code:
The
markDefault
no work, has alternative for it?The text was updated successfully, but these errors were encountered: