Patch (to be ported)
Project:
Features
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2012 at 17:02 UTC
Updated:
12 Mar 2015 at 19:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
joelcollinsdc commentedComment #2
joelcollinsdc commentedComment #3
hefox commentedSeems good, but tiny space issue
Comment #4
neochief commentedIt looks like original patch intented to work only with one component at a time, since something like this down't work:
drush fr foo --components=c1 c2 --forceDrush understand c2 as another feature to revert, not a component.
Other drawback of this change is that you can't specify components for multiple features in one command.
I have modified the patch and changed it behavior a little bit, so now you can run commands like this:
drush fr foo.node foo.taxonomy bar --forceExamples of command also included.
Comment #5
joelcollinsdc commentedI assumed the way that you passed multiple space-separated arguments to a single option was to surround them with quotes. Your approach seems better, though, very interesting.
Comment #6
mpotter commentedNice update to the syntax. Committed and pushed in 6239499.