Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Created December 12, 2018 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xurizaemon/d84c56b27650de52a8e3231822f894f1 to your computer and use it in GitHub Desktop.
Save xurizaemon/d84c56b27650de52a8e3231822f894f1 to your computer and use it in GitHub Desktop.
drush help config:set
$ drush help config:set
Set config value directly. Does not perform a config import.
Examples:
drush config:set system.site page.front node Sets system.site:page.front to "node".
Arguments:
config_name The config object name, for example "system.site".
key The config key, for example "page.front".
[value] The value to assign to the config key. Use '-' to read from STDIN.
Options:
--input-format[=INPUT-FORMAT] Format to parse the object. Use "string" for string (default), and "yaml" for YAML. // A
convenient way to pass a multiline value within a backend request. [default: "string"]
--value=VALUE The value to assign to the config key (if any).
Aliases: cset, config-set
$ drush --version
Drush Commandline Tool 9.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment