Listing all arguments that may be passed to an artisan commands in Laravel 5

For getting commands help for artisan, we may pass help argument with the command syntax.


C:\wamp\www\laravel>php artisan help make:controller
 make:controller [--plain] name

 name                  The name of the class

 --plain               Generate an empty controller class.
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question
 --env                 The environment the command should run under.

The above command will generate all the options that will be used with make:controller command.


You may also like...