description: 'Export a view in YAML format inside a provided module to reuse in another website.' messages: view-exported: 'View exported sucessfully' depencies-included: 'The following module dependencies were included at "%s"' wrong-view: 'The view "%s" does not exist' questions: view: 'View to be exported' optional-config: 'Export view in module as an optional configuration' include-module-dependencies: 'Include view module dependencies in module info YAML file' remove-uuid: 'The view to be exported without uuid key.' remove-config-hash: 'The view to be exported without the default site hash key.' arguments: view-id: 'View ID' options: optional-config: 'Export view as an optional YAML configuration in your module' include-module-dependencies: 'Include view module dependencies in module info YAML file' remove-uuid: 'If set, the configuration will be exported without uuid key.' remove-config-hash: 'If set, the configuration will be exported without the default site hash key.' examples: - description: 'Perform a simple export.' execution: drupal config:export:view viewid - description: 'Export as optional config for the provided module.' execution: | drupal config:export:view viewid \ --module="modulename" \ --optional-config \ --include-module-dependencies \ --remove-uuid \ --remove-config-hash - description: "Export as config for the provided module, updating the module's info.yml with any module dependencies from the view." execution: | drupal config:export:view viewid \ --module="modulename" \ --optional-config \ --include-module-dependencies