laravel/laravel — Issue #291: Feature Request: Artisan --help option
Author: akuzemchak
Created: 2012-01-30 23:07:52+00:00
State: open

I think that it would be extremely helpful for the new artisan CLI to provide contextual help and/or examples that are typically seen in CLI utilities. Some examples I can think of off the top of my head are (using the "key" task for examples):

* `php artisan --help` to show a full list of commands.
* `php artisan key` or `php artisan key --help` to show a list of subcommands for the key task.
* `php artisan key:generate --help` to show any available options and/or usage examples for the specific subcommand.

Alternatively, these could also be written with "help" being a task itself, which would change the above syntax to something like:

* `php artisan help`
* `php artisan help key`
* `php artisan help key:generate`

Thanks for the consideration!