The attached patch adds an --info-style option to drush features-components (fc).
This allows you to get your component list in a format compatible with info files eg

#drush fc views_view% --info-style

 Available sources
 features[views_view][] = "archive"                                                     
 features[views_view][] = "backlinks"                                                   
 features[views_view][] = "frontpage"                                                   
 features[views_view][] = "glossary"                                                    
 features[views_view][] = "comments_recent"                                             
 features[views_view][] = "taxonomy_term"                                               
 features[views_view][] = "tracker"

CommentFileSizeAuthor
features-component-list-as-info.patch1.91 KBlarowlan

Comments

ademarco’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Works well for me on 2.2 and had been working well since 7.x-2.0-beta2 too.

ademarco’s picture

Still working fine on Features 2.3.

  • hefox committed e80a52a on authored by larowlan
    Issue #1536218 by larowlan: Add --info-style option to drush features-...
hefox’s picture

Status: Reviewed & tested by the community » Fixed

thanks

  • hefox committed e80a52a on 8.x-3.x authored by larowlan
    Issue #1536218 by larowlan: Add --info-style option to drush features-...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.