You are here

function lockr_drush_command in Lockr 8.4

Same name and namespace in other branches
  1. 8.2 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['lockr-register'] = [
    'description' => 'Register a site for Lockr.',
    'aliases' => [
      'lr',
    ],
    'core' => [
      '8',
    ],
    'scope' => 'site',
    'arguments' => [
      'email' => 'The email to register with.',
    ],
    'options' => [
      'password' => 'The password to match given email (if applicable).',
    ],
  ];
  return $info;
}