You are here

function qa_accounts_drush_command in QA Accounts 8

Implements hook_drush_command().

File

./qa_accounts.drush.inc, line 11
Drush commands for the qa_accounts module.

Code

function qa_accounts_drush_command() {
  $items = [];
  $items['qa-accounts-test-users-create'] = [
    'description' => 'Create a test user for each custom user role.',
    'aliases' => [
      'test-users-create',
      'create-test-users',
    ],
  ];
  $items['qa-accounts-test-users-delete'] = [
    'description' => 'Delete test users created by `qa-accounts-create-test-users`.',
    'aliases' => [
      'test-users-delete',
      'delete-test-users',
    ],
  ];
  return $items;
}