function underscore_drush_command in Underscore.js 7.2
Implements hook_drush_command().
File
- drush/
underscore.drush.inc, line 11 - drush integration for underscore module.
Code
function underscore_drush_command() {
$items = array();
// The key in the $items array is the name of the command.
$items['underscore-download'] = array(
'callback' => 'underscore_drush_download',
'description' => dt("Downloads the Underscore.js library."),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'arguments' => array(
'path' => dt('Optional. The path to your shared libraries. If omitted Drush will use the default location.'),
),
'aliases' => array(
'ujsdl',
),
);
return $items;
}