setName('{%commandName%}') ->setDescription('the {%commandName%} command'); } protected function execute(Input $input, Output $output) { // 指令输出 $output->writeln('{%commandName%}'); } }