Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
User Commands
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
26 Mar 2012 at 22:03 UTC
Updated:
11 Sep 2013 at 11:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedHere's a patch. Tested it with the patch at http://drupal.org/node/1498986 (could be applied to ctools dev as well instead of that sandbox).
Comment #2
moshe weitzman commentedLooks good. I'll wait a bit for more feedback.
Can anyone think if a way to test this function?
Comment #3
damiankloip commentedLooks good to me too, but that's a biased opinion :)
Comment #4
swentel commentedTo anyone who'd like to test this patch but doesn't want to write their own drush functions:
Comment #5
moshe weitzman commentedWe need a test or an implementation in drush core. At first look it seems like drush_field_delete() could use the 'select all' feature instead of --all
Comment #6
drzraf commentedHere's another implementation.
It simply allows
"*"and"-*"value in order to selectAll/Noneoption.Comment #7
greg.1.anderson commentedI like "*", but not "-*". It would be better if "*" selected all options, unless everything is already selected, in which case everything should be deselected.
Comment #8
drzraf commented-*is only an (unusual) shorthandeither case is ok for me, feel free to commit as you prefer.
Comment #9
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.