function badbehavior_drush_command in Bad Behavior 7.2
Same name and namespace in other branches
- 6.2 badbehavior.drush.inc \badbehavior_drush_command()
- 6 badbehavior.drush.inc \badbehavior_drush_command()
Implements hook_drush_command().
File
- ./
badbehavior.drush.inc, line 11 - Drush integration for the badbehavior module.
Code
function badbehavior_drush_command() {
$items['badbehavior-dl'] = array(
'description' => dt('Downloads the required BadBehavior library from svn.wp-plugins.org.'),
'options' => array(
'--path' => dt('Optional. A path to the download folder. If omitted, Drush will use the default location (sites/all/libraries/bad-behavior).'),
),
);
return $items;
}