Skip to content

Commit

Permalink
Add an example in generate command. (#4955)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Dec 28, 2021
1 parent 88d21dc commit 66fa215
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Commands/generate/GenerateCommands.php
Expand Up @@ -32,10 +32,12 @@ class GenerateCommands extends DrushCommands implements AutoloaderAwareInterface
* @option destination Absolute path to a base directory for file writing.
* @usage drush generate
* Pick from available generators and then run it.
* @usage drush generate controller
* Generate a controller class for your module.
* @usage drush generate drush-command-file
* Generate a Drush commandfile for your module.
* @usage drush generate controller --answer=Example --answer=example
* Generate a controller class and pre-fill the first two questions in the wizard.
* @usage drush generate controller -vvv --dry-run
* Learn all the potential answers so you can re-run with several --answer options.
* @topics docs:generators
* @bootstrap max
*
Expand Down

0 comments on commit 66fa215

Please sign in to comment.