drush config-editfor drush 7x
Open a config file in a text editor. Edits are imported into active configration after closing editor.
drush config-edit
-
Aliases
config-edit has 1 alias/es:
drush cedit
-
Arguments
config-edit accepts 1 argument/s:
config-name : The config object name, for example "system.site".
-
Options
config-edit accepts 2 option/s:
--bg : Run editor in the background. Does not work with editors such as `vi` that run in the terminal. Supresses config-import at the end.
--file : Import from a file instead of interactively editing a given config.
-
Examples
Edit the image style configurations.
drush config-edit image.style.large
Choose a config file to edit.
drush config-edit
Edit the second file in the choice list.
drush config-edit --choice=2
Return to shell prompt as soon as the editor window opens.
drush --bg config-edit image.style.large
-
Comments
comments powered by Disqus