function new_relic_rpm_drush_command in New Relic 8
Same name and namespace in other branches
- 7 new_relic_rpm.drush.inc \new_relic_rpm_drush_command()
Implements hook_drush_command().
File
- ./
new_relic_rpm.drush.inc, line 29 - New Relic Drush integration.
Code
function new_relic_rpm_drush_command() {
$items = [];
$items['newrelic-deploy'] = [
'description' => dt('Notify New Relic of a deployment.'),
'arguments' => [
'revision' => dt('Optional. Revision id of the deployment.'),
'description' => dt('Optional. A brief description of the deployment.'),
'user' => dt('Optional. User doing the deploy.'),
'changelog' => dt('Optional. A list of changes for this deployment.'),
],
'aliases' => [
'nrd',
],
];
return $items;
}