When I am done working on a branch, many times I have touched multiple features within the UI(we rely on features heavily) and want to see all the differences within drush.

Attached is a patch that does just that. The command "drush fda" will show all the features that are not in their default state then ask if you want to diff each one.

There is also exclude support: "drush fda feature_name1 feature_name2" will exclude feature_name1 and feature_name2 from the list of features to diff.

There is an option to force the diff without asking questions. This might come in handy if you know the diff will be small or if you want to force the output to go to a log file to review at another time. For example: "drush fda --force > ~/fda.log"

CommentFileSizeAuthor
features_drush-features-diff-all.patch2.67 KBelvis2

Comments

Status: Needs review » Needs work

The last submitted patch, features_drush-features-diff-all.patch, failed testing.

elvis2’s picture

Status: Needs work » Needs review

Hmmm, trying the test again.

elvis2’s picture

Status: Needs review » Needs work

The last submitted patch, features_drush-features-diff-all.patch, failed testing.

q0rban’s picture

Status: Needs work » Closed (duplicate)

Looks like this might be a dupe of #1602014: Add a drush features-diff --all option.

q0rban’s picture

@elvis2, I would post your patch over on that issue. :)

elvis2’s picture

@q0rban I believe the issue is for a different version of the module.