You are here

function superfish_drush_command in Superfish 7

Same name and namespace in other branches
  1. 6 superfish.drush.inc \superfish_drush_command()

Implements hook_drush_command().

File

./superfish.drush.inc, line 16
Drush integration for Superfish.

Code

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

  // The key in the $items array is the name of the command.
  $items['superfish-plugin'] = array(
    'callback' => 'drush_superfish_plugin',
    'description' => dt("Downloads the Superfish plugin."),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. A path where to install the Superfish plugin. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'superfishplugin',
    ),
  );
  return $items;
}