You are here

function user_import_drush_command in User Import 6.2

Same name and namespace in other branches
  1. 8 user_import.drush.inc \user_import_drush_command()
  2. 6.4 user_import.drush.inc \user_import_drush_command()
  3. 7.3 user_import.drush.inc \user_import_drush_command()
  4. 7 user_import.drush.inc \user_import_drush_command()
  5. 7.2 user_import.drush.inc \user_import_drush_command()

File

./user_import.drush.inc, line 16

Code

function user_import_drush_command() {
  $commands = array();
  $commands['user-import'] = array(
    'description' => dt('Queue an import of users'),
    'arguments' => array(
      'file' => dt('The CSV file with user data'),
      'template' => dt('Name of the template to use (optional, if not provided the default template is used)'),
    ),
    'examples' => array(
      dt('standard example') => 'drush user-import users.csv',
    ),
  );
  return $commands;
}