Features & Drush
The drush commands Features offers are:
explanation: List all the available features for your site.
aliases: fl, features
explanation: List features components.
drush features-components List feature components matching patterns. The listing may be limited to
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.
drush features-export name_of_feature component1 [component2...]
drush fe my_new_blog_feature views_view:view_name
To get a list of components, use the above
explanation: Update a feature module on your site. The update operation will produce a modified version of your feature module, which matches up with the configuration found in the database.
What happens with this modified code, depends on whether you do this with drush or with the web-based interface.
Using drush ("drush features-update [name]"), the modified code will replace your existing feature module in the filesystem.
The "recreate" button in the web-based administration interface is the equivalent to "update". However, the modified code will be provided for download as a .tar archive, instead of overwriting the existing feature module. It is up to the site builder to manually unzip and re-upload the modified module, replacing the original.
drush features-update NAME_OF_FEATURE_TO_EXPORT
explanation: Update all feature modules on your site. From database to the code.
aliases: fu-all, fua
explanation: Revert a feature module on your site. Revert changes your site configuration (living in the database) to match up with the definitions in the feature module code.
drush features-revert NAME_OF_FEATURE_TO_REVERT
explanation: Revert all enabled feature module on your site. From code to the database.
aliases: fr-all, fra
explanation: Show a diff of a feature module.
drush features-diff NAME_OF_FEATURE_TO_EXPORT
drush features-diff NAME_OF_FEATURE_TO_EXPORT --lines=NUMBER_OF_LINES_OF_CONTEXT
Information taken from features.drush.inc in Features module bundle.
You may find more information on this external site.
You can also use -y to respond automatically Yes to confirmation dialogs e.g.
drush fra -y
explanation: While not a command specifically provided by the features module, this command enables a feature.
drush en my_feature