You are here

function user_external_invite_drush_command in User External Invite 7

Same name and namespace in other branches
  1. 7.2 user_external_invite.drush.inc \user_external_invite_drush_command()
  2. 1.0.x user_external_invite.drush.inc \user_external_invite_drush_command()

Implements hook_drush_command().

File

./user_external_invite.drush.inc, line 11
This file provides a way to invite users to a site via drush.

Code

function user_external_invite_drush_command() {
  $items = array();
  $items['user-external-invite-send'] = array(
    'description' => 'Invite a user with an email address',
    'arguments' => array(
      'email' => 'Email address to invite',
      'role' => 'Role to grant',
    ),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_ROOT,
    'options' => array(),
  );
  return $items;
}