function raven_drush_command in Raven: Sentry Integration 7.2
Same name and namespace in other branches
- 7.4 raven.drush.inc \raven_drush_command()
- 7.3 raven.drush.inc \raven_drush_command()
Implements hook_drush_command().
See also
drush_parse_command()
File
- ./
raven.drush.inc, line 13 - Raven module drush integration.
Code
function raven_drush_command() {
$items['raven-capture-message'] = array(
'description' => dt('Sends a test message to Sentry.'),
'drupal dependencies' => array(
'raven',
),
'arguments' => array(
'message' => dt('The message text.'),
),
'options' => array(
'level' => dt('The message level (debug, info, warning, error, fatal).'),
'logger' => dt('The logger.'),
),
);
return $items;
}