You are here

function raven_drush_command in Raven: Sentry Integration 7.4

Same name and namespace in other branches
  1. 7.2 raven.drush.inc \raven_drush_command()
  2. 7.3 raven.drush.inc \raven_drush_command()

Implements hook_drush_command().

See also

drush_parse_command()

File

./raven.drush.inc, line 15
Raven module drush integration.

Code

function raven_drush_command() {
  $items['raven-capture-message'] = [
    'description' => dt('Sends a test message to Sentry.'),
    'drupal dependencies' => [
      'raven',
    ],
    'arguments' => [
      'message' => dt('The message text.'),
    ],
    'options' => [
      'level' => dt('The message level (debug, info, warning, error, fatal).'),
    ],
  ];
  return $items;
}