You are here

function coder_review_drush_command in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.drush.inc \coder_review_drush_command()

Implements hook_drush_command().

File

coder_review/coder_review.drush.inc, line 44
Command line utility for coder_review.

Code

function coder_review_drush_command() {
  $items['coder-review'] = array(
    'callback' => 'coder_review_drush_review',
    'description' => dt('Run code reviews'),
    'drupal dependencies' => array(
      'coder_review',
    ),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'aliases' => array(
      'coder',
      'review',
      'lint',
    ),
  );
  return $items;
}