drush_notify_send() is essentially an "API" function that should be readily available to any Drush commands that care to use it.

A small cleanup of the code would be to reduce some of the redundancy around calculating the message, with a drush_notify_command_message($command, $default = NULL)

Comments

Grayside’s picture

Priority: Normal » Minor
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.