You are here

function akamai_drush_command in Akamai 7.3

Same name and namespace in other branches
  1. 7.2 akamai.drush.inc \akamai_drush_command()

Implements hook_drush_command().

File

./akamai.drush.inc, line 11
Drush commands for interacting with Akamai's CCU API.

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;
}