I find myself wishing that `drush fe` did exactly this.
Have you considered just making a patch to features itself to add this functionality?

Comments

jon pugh’s picture

Status: Active » Postponed

That's actually the plan, I just wanted to develop the idea and the code first. Also, as soon as I posted the module, I am realizing there are more tools I would like to develop to make developing with features more manageable, so this project might eventually be folded into a more generic features tools module.

nyl_auster’s picture

Status: Postponed » Active

trying the module, i notice for the first time that it seems that features has already this features now :
"drush fc {component_name}"

Here is an extract from the result in a terminal :

 field:node-article-field_category                                              
 field:node-homepage-body                                                       
 field:node-mediatheque_image-body                     Provided by: mediatheque 
 field:node-mediatheque_image-field_mediatheque_image  Provided by: mediatheque 
 field:node-mediatheque_image-field_tags               Provided by: mediatheque 
 field:node-mediatheque_image-field_caption            Provided by: mediatheque 
 field:node-mediatheque_image-field_credit             Provided by: mediatheque 

As you can see, you are able to see which fields (or whatever the component is) are already in a features or not; and they are in a format we may copy paste directly in .info file.