Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / config.import.single.yml
index 4773627a2ddb0b785b1b2bcbaa04cbee8833b433..02e9569fe211d85ce9e64b04b893f0aa592ba635 100644 (file)
@@ -1,11 +1,21 @@
-description: 'Import a single configurations or a list of configurations.'
-arguments:
-    name: 'Configuration name'
-    file: 'Path to the import file'
-    config-names: 'Configuration names (when used with "chain" command).'
+description: 'Import a single configuration or a list of configurations.'
+options:
+    file: 'The file(s) name or file(s) absolute path to import'
+    directory: 'The path from where to import file(s).'
 questions:
-    name: 'Enter configuration name'
-    file: 'Enter path to the import file'
+    file: 'Enter file name or file absolute path to import'
+    directory: 'Enter path from where to import files.'
 messages:
+    missing-file: 'File option is missing.'
     empty-value: 'Value can not be empty'
     success: 'Configuration(s) "%s", has been imported successfully.'
+examples:
+    - description: 'Providing a file option using full path.'
+      execution: |
+        drupal config:import:single \
+          --file="/path/to/file/block.block.default_block.yml"
+    - description: 'Providing file and directory options'
+      execution: |
+        drupal config:import:single  \
+          --file="block.block.default_block.yml" \
+          --directory="/path/to/directory"