protected function configure()
{
$this->setName('pull_mqtt')
->setDescription('Mqtt Subscribe Workerman Service')
->addArgument('commands')
->addOption('daemon','d',null,'-d');
}
运行
php think pull_mqtt start -d
555