Laravel - Artisan Console - Closure Command Descriptions
When defining a closure based command, you may use the purpose
method to add a description to the command. This description will be displayed when you run the php artisan list
or php artisan help
commands:
Artisan::command('mail:send {user}', function ($user) {
// ...
})->purpose('Send a marketing email to a user');