You are here

function views_slideshow_cycle_drush_command in Views Slideshow 7.3

Same name and namespace in other branches
  1. 8.4 modules/views_slideshow_cycle/views_slideshow_cycle.drush.inc \views_slideshow_cycle_drush_command()

Implements hook_drush_command().

File

contrib/views_slideshow_cycle/views_slideshow_cycle.drush.inc, line 13
Drush integration for Views Slideshow.

Code

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

  // The key in the $items array is the name of the command.
  $items['views-slideshow-cycle-cycle'] = array(
    'description' => dt('Download and install the jQuery Cycle library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. The path to install the jQuery Cycle library in. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'dl-cycle',
    ),
  );
  $items['views-slideshow-cycle-json2'] = array(
    'description' => dt('Download and install the JSON2 library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. The path to install the JSON2 library in. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'dl-json2',
    ),
  );
  $items['views-slideshow-cycle-hoverintent'] = array(
    'description' => dt('Download and install the jquery.hoverIntent library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. The path to install the jquery.hoverIntent library in. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'dl-hoverintent',
    ),
  );
  $items['views-slideshow-cycle-pause'] = array(
    'description' => dt('Download and install the jQuery.pause library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. The path to install the jQuery.pause library in. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'dl-pause',
    ),
  );
  $items['views-slideshow-cycle-easing'] = array(
    'description' => dt('Download and install the jQuery.easing library.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. The path to install the jQuery.easing library in. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'dl-easing',
    ),
  );
  $items['views-slideshow-cycle-lib'] = array(
    'description' => dt('Download and install the jQuery Cycle, jQuery hoverIntent and JSON2 libraries.'),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'aliases' => array(
      'dl-cycle-lib',
    ),
  );
  return $items;
}