Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
But the command.site.install.options.existing-config is totally ignored.
Also the DRUSH_OPTIONS_EXISTING_CONFIG='true' drush site-install --existing-config command doesn't work.
So I have to add it to CLI command, like this:
drush site-install --existing-config.
Describe the bug
Default value of an option which is defined like this
$options = ['a' => FALSE]
cannot be overridden from drush.yml.I think all the options has to be overridable from
drush.yml
.Here are the descriptions of the meanings of the default values: https://github.com/consolidation/annotated-command#option-default-values
To Reproduce
Content of
drush.yml
Run
drush foo:bar
System Configuration
Use case
I would like run a Drush command like this
drush site:install
with the followingdrush.yml
file:But the
command.site.install.options.existing-config
is totally ignored. Also theDRUSH_OPTIONS_EXISTING_CONFIG='true' drush site-install --existing-config
command doesn't work. So I have to add it to CLI command, like this:drush site-install --existing-config
.List of commands