Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.breakpoint.yml
index 1905bc2ec482170a9c574a57c84b6e3f159ca4a6..9b79cbdd15d012761ecd3f6fbf75f484c9aeacb5 100644 (file)
@@ -2,13 +2,19 @@ description: 'Generate breakpoint'
 help: 'The <info>generate:breakpoint</info> command helps you generates a new breakpoint'
 welcome: 'Welcome to the Drupal breakpoint generator'
 options:
-    theme: 'Theme name'
-    breakpoints: Breakpoints
+  theme: 'Theme name'
+  breakpoints: Breakpoints
 questions:
-    theme: 'Enter the theme name (i.e. classy, stable)'
-    breakpoint-name: 'Enter breakpoint name'
-    breakpoint-label: 'Enter breakpoint label'
-    breakpoint-media-query: 'Enter breakpoint media query'
-    breakpoint-weight: 'Enter breakpoint weight'
-    breakpoint-multipliers: 'Enter breakpoint multipliers'
-    breakpoint-add: 'Do you want to add another breakpoint'
+  theme: 'Enter the theme name (i.e. classy, stable)'
+  breakpoint-name: 'Enter breakpoint name'
+  breakpoint-label: 'Enter breakpoint label'
+  breakpoint-media-query: 'Enter breakpoint media query'
+  breakpoint-weight: 'Enter breakpoint weight'
+  breakpoint-multipliers: 'Enter breakpoint multipliers'
+  breakpoint-add: 'Do you want to add another breakpoint?'
+examples:
+  - description: 'Generate a breakpoint specifying the theme, a breakpoint name, its label, the media query, its weight and multipliers'
+    execution: |
+      drupal generate:breakpoint  \
+        --theme="classy"  \
+        --breakpoints='"breakpoint_name":"narrow", "breakpoint_label":"narrow", "breakpoint_media_query":"all and (min-width: 560px) and (max-width: 850px)", "breakpoint_weight":"1", "breakpoint_multipliers":"1x"'
\ No newline at end of file