Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.cache.context.yml
index b8053f6e0cde83b69642adf19b9592655433ae88..6058d4af6d13e5dabff2b88b83e09a5f40586621 100644 (file)
@@ -1,4 +1,18 @@
 description: 'Generate a cache context'
+help: 'The <info>generate:cache:context</info> command helps you generates a new cache context'
+welcome: 'Welcome to the Drupal Cache Context generator'
+options:
+  module: 'The Module name.'
+  name: 'The cache context name'
+  class: 'Cache context class name'
 questions:
-    name: 'Enter the cache context name'
-    class: 'Cache context class name'
+  module: 'Enter the module name'
+  name: 'Enter the cache context name'
+  class: 'Cache context class name'
+examples:
+  - description: 'Generate cache for a context specifying the module, the context name and its class'
+    execution: |
+      drupal generate:cache:context  \
+        --module="modulename"  \
+        --cache-context="ContextName"  \
+        --class="DefaultCacheContext"
\ No newline at end of file