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"
| Comment | File | Size | Author |
|---|---|---|---|
| features_drush-features-diff-all.patch | 2.67 KB | elvis2 |
Comments
Comment #2
elvis2 commentedHmmm, trying the test again.
Comment #3
elvis2 commentedfeatures_drush-features-diff-all.patch queued for re-testing.
Comment #5
q0rban commentedLooks like this might be a dupe of #1602014: Add a drush features-diff --all option.
Comment #6
q0rban commented@elvis2, I would post your patch over on that issue. :)
Comment #7
elvis2 commented@q0rban I believe the issue is for a different version of the module.