You are here

function raven_drush_command in Raven: Sentry Integration 7.3

Same name and namespace in other branches
  1. 7.4 raven.drush.inc \raven_drush_command()
  2. 7.2 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;
}