function cacheflush_drush_drush_command in CacheFlush 7.3
Same name and namespace in other branches
- 8 modules/cacheflush_drush/cacheflush_drush.drush.inc \cacheflush_drush_drush_command()
Implements hook_drush_command().
File
- modules/
cacheflush_drush/ cacheflush_drush.drush.inc, line 21 - Cacheflush Drush implementation.
Code
function cacheflush_drush_drush_command() {
$items = array();
$items['cacheflush'] = array(
'description' => dt('Clear cache predefined in cacheflush preset.'),
'arguments' => array(
'id' => dt('Preset id to run'),
),
'examples' => array(
'Example' => 'drush cacheflush 5',
),
'aliases' => array(
'cf',
),
);
return $items;
}