I'm working on a Drupal 6.x site using features version 6.1, I was trying to get the list of the available components using drush features-component, but I noticed it is not available in this version.
Is this command supported in features 6.x at all?
Is there another way of getting the components list?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush-fc.patch | 8.74 KB | fxarte |
Comments
Comment #1
fxarte commentedI've been using the modifications in this patch without any issues on a Drupal 6.22 site.
As you can see is a verbatim port from 7.x.
Comment #2
ryan.ryan commentedBless you... bless you. :D
Comment #3
UTAN_dev commentedI also need the fc command, but I'm having trouble working around a patch problem.
I'm using Features 6.x-1.2+19- and features.drush.inc already has a declaration for function _drush_features_component_list. After I apply the patch, Drush complains that _drush_features_component_list is redefined. Here are the two functions in features.drush.inc after patching:
Which declaration should I keep? Thanks for your help.
Comment #4
osopolarThere seems to be no need for this anymore, as in latest dev you can use
drush features-add {fature-name}without providing a component to list all components.I think marking this as "works as designed" should be okay for Drupal 6, if not, feel free to reopen the issue.