Hey,
This patch allow you to filter the feature listing by status and/or state on drush.
It adds to options to the feature-listing, --state and --status
Is not the greatest patch and I don't have access to cvs at work, so it's against my own repo. I can submit a proper patch at another time if someone hasn't already.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | filter-feature-listing-935932-6.patch | 1.78 KB | mavimo |
| #4 | filter-feature-listing-935932-4.patch | 1.78 KB | mavimo |
| #2 | 935932-pipe-support-and-fl-filters.patch | 2.38 KB | codi |
| feature_list_filter.patch | 1.47 KB | ericduran |
Comments
Comment #1
hefox commentedComment #2
codi commentedTook ericduran's patch and applied it to the 7.x-dev branch. Also added in a couple extra lines of code to allow for piping output for the features-list command. Let me know if I should separate that out as a separate patch.
For the --pipe stuff, I've provided a dash delimited list of the features machine name and the boolean of the features status. I needed that specific use case, so if someone else has better ideas, let me know.
Comment #3
rb2k commentedbump
I'd love to see the pipe support :)
Comment #4
mavimo commentedPatch to 2.x-dev attached.
Comment #6
mavimo commentedUpps, I posted the wrong file :P
Comment #7
mavimo commentedComment #8
elijah lynn#6 adds --status=enabled|disabled|all to the drush features-list command and it applies against beta2 and works nicely.
It leaves out the state and pipe options in the earlier patches. This could be committed as is and does add nice functionality.
Comment #9
mpotter commentedCommitted to 5b256aa.