Drush features Goodies.

Member for

1 day 11 hours
Submitted by lars on Thu, 08/11/2016 - 11:32

This is some features related commands in drush that I use regulary. Both short and long versions of commands shown, with and without the "-y" flag to skip confirmation questions:

$ drush features-list
$ drush fl

If you want to show only the overridden features:

$ drush features-list | grep Override
$ drush fl | grep Override

To show everything that has been overridden for all features:

$ drush features-diff-all
$ drush fda -y

To update all features code to their currently overridden state:

$ drush features-update-all
$ drush fua -y

To revert all features to their default state from code:

$ drush features-revert-all
$ drush fra -y