Last updated March 23, 2014. Created by thomjjames on November 3, 2010.
Edited by Willynux, klu, Pere Orga, jcisio. Log in to edit this page.

Features offers some useful drush commands which can help streamline your development even further. (Drush is a command line shell and scripting interface for Drupal.)

The drush commands Features offers are:

explanation: List all the available features for your site.
aliases: fl, features
example: drush features

explanation: List features components.
aliases: fc
example 1: drush features-components List feature components matching patterns. The listing may be limited to
exported/not-exported components.
example 2: drush features-components --exported Show only components that have been exported.

explanation: Export a feature from your site into a module. If the feature exists, new components are added into that feature.
aliases: fe
Syntax: drush features-export name_of_feature component1 [component2...]
Example: drush fe my_new_blog_feature views_view:view_name

To get a list of components, use the above features-components command.

explanation: Update a feature module on your site.
aliases: fu
example: drush features-update NAME_OF_FEATURE_TO_EXPORT

explanation: Update all feature modules on your site.
aliases: fu-all, fua
example: drush features-update-all

explanation: Revert a feature module on your site.
aliases: fr
example: drush features-revert NAME_OF_FEATURE_TO_REVERT

explanation: Revert all enabled feature module on your site.
aliases: fr-all, fra
example: drush features-revert-all

explanation: Show a diff of a feature module.
aliases: fd
example: drush features-diff NAME_OF_FEATURE_TO_EXPORT

Information taken from in Features module bundle.

You can also use -y to respond automatically Yes to confirmation dialogs e.g.
drush fra -y

Looking for support? Visit the forums, or join #drupal-support in IRC.