Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Added drush config-partial-export in short (cpex) command.
Example:
drush config-partial-export --config core.date_format.long
The core.date_format.long.yml file will be created and saved into sync folder which is in /sites/default/files/config_[hash-tag] folder by default.