This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/config.import.single.yml

22 lines
898 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
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:
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"