You are here

function cloud_zoom_drush_command in Cloud Zoom 7

@file This file integrates Cloud Zoom with Drush and provides a helper function for getting the library.

File

./cloud_zoom.drush.inc, line 8
This file integrates Cloud Zoom with Drush and provides a helper function for getting the library.

Code

function cloud_zoom_drush_command() {
  return array(
    'cloud-zoom-download' => array(
      'callback' => 'cloud_zoom_drush_download',
      'description' => dt('Downloads the required Cloud Zoom library from the authors website.'),
      'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
      'arguments' => array(
        'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (<code>sites/all/libraries/cloud-zoom</code>).'),
      ),
      'aliases' => array(
        'cz-download',
        'czd',
      ),
    ),
  );
}