You are here

function lockr_drush_command in Lockr 8.2

Same name and namespace in other branches
  1. 8.4 lockr.drush.inc \lockr_drush_command()
  2. 8.3 lockr.drush.inc \lockr_drush_command()
  3. 7.3 lockr.drush.inc \lockr_drush_command()
  4. 7 lockr.drush.inc \lockr_drush_command()
  5. 7.2 lockr.drush.inc \lockr_drush_command()
  6. 4.x lockr.drush.inc \lockr_drush_command()

Implements hook_drush_command().

File

./lockr.drush.inc, line 14
Hooks and callbacks for drush.

Code

function lockr_drush_command() {
  $info['lockdown'] = array(
    'description' => 'Patch modules to work with key.',
    'aliases' => array(
      'ld',
    ),
    'core' => array(
      '8',
    ),
    'scope' => 'site',
  );
  $info['lockr-register'] = array(
    'description' => 'Register a site for Lockr.',
    'aliases' => array(
      'lr',
    ),
    'core' => array(
      '8',
    ),
    'scope' => 'site',
    'arguments' => array(
      'email' => 'The email to register with.',
    ),
    'options' => array(
      'password' => 'The password to match given email (if applicable).',
    ),
  );
  return $info;
}