description: 'Generate an implementation of hook_update_N()'
help: 'The <info>"%s"</info> command helps you generate a hook update N "%s"'
+welcome: 'Welcome to the Drupal Update generator'
options:
- update-n: 'Update Number'
+ module: 'The Module name.'
+ update-n: 'Update Number'
questions:
- update-n: 'Please provide the Update N to be implemeted'
+ module: 'Enter the module name'
+ update-n: 'Please provide the Update N to be implemeted'
messages:
- wrong-update-n: 'The update number "%s" is invalid'
+ wrong-update-n: 'The update number "%s" is invalid'
+examples:
+ - description: 'Generate an update N hook implementation specifying the module name and the N value'
+ execution: |
+ drupal generate:update \
+ --module="modulename" \
+ --update-n="8001"