You are here

function flood_unblock_drush_command in Flood Unblock 7

Implements hook_drush_command().

File

./flood_unblock.drush.inc, line 11
Drush integration for the Flood Unblock module.

Code

function flood_unblock_drush_command() {
  $items['flood_unblock'] = array(
    'callback' => 'flood_unblock_clear_drush',
    'description' => dt('Empty flood for a certain event.'),
    'arguments' => array(
      'path' => dt('The particular flood to clear. Omit this argument to choose from available floods.'),
    ),
    'aliases' => array(
      'flun',
    ),
  );
  return $items;
}