Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从CLI查看Laravel Artisan命令签名_Laravel_Laravel Artisan - Fatal编程技术网

从CLI查看Laravel Artisan命令签名

从CLI查看Laravel Artisan命令签名,laravel,laravel-artisan,Laravel,Laravel Artisan,我有一个带有签名的自定义artisan命令: protected $signature = 'user:update {changedFrom : Timestamp to update users from - "yyyy-mm-dd hh:mm:ss"} {--extras : Whether to update fringe case "extra" users}'; 我总是忘记选项和它们的格式。我希望能够在CLI中查看它们,但我能做的最好的事情是使用php arti

我有一个带有签名的自定义artisan命令:

protected $signature = 'user:update 
    {changedFrom : Timestamp to update users from - "yyyy-mm-dd hh:mm:ss"} 
    {--extras : Whether to update fringe case "extra" users}';
我总是忘记选项和它们的格式。我希望能够在CLI中查看它们,但我能做的最好的事情是使用
php artisan
列出命令的描述

是否有artisan命令查看签名?

向命令添加
--help
应输出可用选项

php artisan user:update --help
--help
添加到命令应输出可用选项

php artisan user:update --help