Problem/Motivation
Adding to an array via cset required complicated logic and should be simple. Sorry in advance, this is my first ticket with Drupal.
Steps to reproduce
$ drush config-get search_api.index.default_solr_index dependencies.module
'search_api.index.default_solr_index:dependencies.module':
- search_api_solr
- node
- user
- taxonomy
- search_api
To add 'foo' to this array I first have to copy the array into a temp variable array then add 'foo' to that array and run cset with the new variable.
Proposed resolution
Add a function called something like "--amend" to the cset command
* $ drush cset --amend search_api.index.default_solr_index dependencies.module "foo"
Remaining tasks
N/A
User interface changes
N/A
API changes
Drush command addition
Data model changes
I have no idea
Comments
Comment #2
chi commentedThe project has been moved to GitHub. Please, open the issue there.
https://github.com/drush-ops/drush