Added backend output to drush_patchfile_patch_status.
Samuel Mortenson
Branch: samuel_mortenson/drush-patchfile:master
samuel_mortenson/drush-patchfile:master
Branch: davereid/drush-patchfile:master
davereid/drush-patchfile:master
Open
#6 · Created  · Last updated
Description
I like this project, and would like to add it to some Drush automation I've been writing. This pull request adds backend output to the patch-status command, which will let other Drush commands invoke it and consume the output. In my case, I need to gather a list of patches and their status before and after running patch-apply-all.
I've never added backend output to a Drush command, but drush_backend_set_result seemed like a good way to do it. If there's another way (changing the output engine?) let me know and I'll try that.
I like this project, and would like to add it to some Drush automation I've been writing. This pull request adds backend output to the patch-status command, which will let other Drush commands invoke it and consume the output. In my case, I need to gather a list of patches and their status before and after running patch-apply-all.
I've never added backend output to a Drush command, but drush_backend_set_result seemed like a good way to do it. If there's another way (changing the output engine?) let me know and I'll try that.
Thanks for the cool commands Dave!