description: 'Export a specific content type and their fields.' arguments: content-type: 'Content Type to be exported' questions: content-type: 'Content Type to be exported' remove-uuid: 'Content Type to be exported without uuid key.' optional-config: 'Export content type in module as an optional configuration' all: 'All content types' remove-config-hash: 'Content type to be exported without the default site hash key.' include-module-dependencies: 'Include content type module dependencies in module info YAML file' messages: content-type-exported: 'Exporting content type' options: optional-config: 'Export content type as an optional YAML configuration in your module' 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.' include-module-dependencies: 'Include content type module dependencies in module info YAML file' examples: - description: 'Provide a content type and module name.' execution: | drupal config:export:content:type page \ --module="demo" - description: 'Export content type as an optional config for the provided module.' execution: | drupal config:export:content:type page \ --module="demo" \ --optional-config \ --remove-uuid \ --remove-config-hash