function lockr_drush_command in Lockr 4.x
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.3 lockr.drush.inc \lockr_drush_command()
- 7 lockr.drush.inc \lockr_drush_command()
- 7.2 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;
}