routes/console.phpphp
copy一个默认的this
Artisan::command('hello', function () { $this->comment('hello world'); })->describe('Display an inspiring quote');
这时候命令行就能够这么用了 用于处理简单逻辑命令行
传参: code
参数添加描述blog