Both Drush and Console provide their own mechanisms for exporting a single configuration entity:
- Drush: config-get [name]
- Console: config:debug [name]
Drush will print the configuration's output to the terminal, whereas Console's default behavior is to write the output to the file disk. For example, the following commands will output the values from system.site in the YAML format:
$ drush config-get system.site $ drupal debug:config system.site
