function speedy_drush_command in Speedy 7
Implements hook_drush_command().
File
- ./
speedy.drush.inc, line 13 - Drush integration for the speedy module.
Code
function speedy_drush_command() {
$items = array();
// @todo We do not need this high of a bootstrap. Only requires drupal codebase
// without database.
$items['speedy-min'] = array(
'description' => 'Minify core JS for this version of core.',
'arguments' => array(
'uglifyjs' => 'The path to UglifyJS to minify the files.',
),
'aliases' => array(
'smj',
),
);
$items['speedy-min-module'] = array(
'description' => 'Minify JS for a module.',
'arguments' => array(
'module' => 'The name of a particular module whose files you wish to minify.',
),
'aliases' => array(
'smm',
),
);
return $items;
}