function lockr_drush_command in Lockr 7.3
Same name and namespace in other branches
- 8.4 lockr.drush.inc \lockr_drush_command()
- 8.2 lockr.drush.inc \lockr_drush_command()
- 8.3 lockr.drush.inc \lockr_drush_command()
- 7 lockr.drush.inc \lockr_drush_command()
- 7.2 lockr.drush.inc \lockr_drush_command()
- 4.x lockr.drush.inc \lockr_drush_command()
Implements hook_drush_command().
File
- ./
lockr.drush.inc, line 11 - Hooks and callbacks for drush.
Code
function lockr_drush_command() {
$info['lockdown'] = [
'description' => 'Patch modules to work with key.',
'aliases' => [
'ld',
],
'core' => [
'7',
],
'scope' => 'site',
];
$info['lockr-register'] = [
'description' => 'Register a site for Lockr.',
'aliases' => [
'lr',
],
'core' => [
'7',
],
'scope' => 'site',
'arguments' => [
'email' => 'The email to register with.',
],
'options' => [
'password' => 'The password to match given email (if applicable).',
'keyring-id' => 'The KeyRing ID to register against an existing KeyRing.',
],
];
return $info;
}