Commit d0c1567d authored by frjo's avatar frjo
Browse files

Add DRUSH_BOOTSTRAP_DRUSH and alias to drush command.

parent ff4c9250
......@@ -20,7 +20,7 @@ define('COLORBOX_DOWNLOAD_URI', 'http://colorpowered.com/colorbox/colorbox.zip')
* Notice how this structure closely resembles how
* you define menu hooks.
*
* @See drush_parse_command() for a list of recognized keys.
* See `drush topic docs-commands` for a list of recognized keys.
*
* @return
* An associative array describing your command(s).
......@@ -32,9 +32,11 @@ function colorbox_drush_command() {
$items['colorbox-plugin'] = array(
'callback' => 'drush_colorbox_plugin',
'description' => dt("Downloads the Colorbox plugin."),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH, // No bootstrap.
'arguments' => array(
'path' => dt('Optional. A path where to install the Colorbox plugin. If omitted Drush will use the default location.'),
),
'aliases' => array('colorboxplugin'),
);
return $items;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment