Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.update.yml
index ca77f19a778c550e965e53e9ae843346bf543eb4..614b4216dac9a3fb624e0bd8c2d029243d634623 100644 (file)
@@ -1,8 +1,17 @@
 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"