You are here

function paranoia_drush_command in Paranoia 7

Implements hook_drush_command().

File

./paranoia.drush.inc, line 92
Drush integration for the paranoia module.

Code

function paranoia_drush_command() {
  return array(
    'paranoia-reset-stale-accounts' => array(
      'description' => dt('Queue accounts to have their passwords reset if they have not logged in recently.'),
      'options' => array(
        'limit' => dt('Limit the number of accounts to queue in one run.'),
      ),
    ),
    'paranoia-list-projects-to-delete' => array(
      'description' => 'Prints out unused project (module and theme) directories so they can be deleted.',
      'options' => array(
        'remove-lots-risky-htaccess' => 'Remove a lot of extra files including some that might be important like the .htacccess.',
      ),
    ),
  );
}