You are here

function easychart_drush_command in Easychart 7.3

Same name and namespace in other branches
  1. 8.3 drush/easychart.drush.inc \easychart_drush_command()
  2. 7.2 drush/easychart.drush.inc \easychart_drush_command()

Implements hook_drush_command().

File

drush/easychart.drush.inc, line 7

Code

function easychart_drush_command() {
  $items = array();
  $items['easychart-dependencies'] = array(
    'aliases' => array(
      'ec-dependencies',
    ),
    'callback' => 'easychart_drush_dependencies',
    'description' => dt('Download and install the javascript dependencies for the Easychart module.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. A path where to install the Easychart dependencies. If omitted Drush will use the default location (sites/all/libraries).'),
    ),
  );
  return $items;
}