function akamai_drush_command in Akamai 7.2
Same name and namespace in other branches
- 7.3 akamai.drush.inc \akamai_drush_command()
Implements hook_drush_command().
File
- ./
akamai.drush.inc, line 6
Code
function akamai_drush_command() {
$items = array();
$items['akamai-clear-url'] = array(
'description' => 'Akamai clear url.',
'arguments' => array(
'path' => 'A path to clear. You can provide as many paths you like.',
),
'options' => array(
'action' => 'Clearing action type.',
'domain' => 'The Akamai domain to use for cache clearing.',
),
'aliases' => array(
'akcu',
),
'callback' => 'akamai_drush_clear_url',
);
return $items;
}