You are here

function openlayers_cesium_drush_command in Openlayers 7.3

Implements hook_drush_command().

File

modules/openlayers_cesium/drush/openlayers_cesium.drush.inc, line 10
Drush integration for Openlayers Cesium.

Code

function openlayers_cesium_drush_command() {
  $items = array();

  // The key in the $items array is the name of the command.
  $items['dl-openlayers-cesium'] = array(
    'callback' => 'drush_openlayers_cesium_plugin',
    'description' => dt('Download and install the Openlayers Cesium library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. A path where to install the Openlayers Cesium library. If omitted Drush will use the default location.'),
    ),
  );
  return $items;
}