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