function download_count_drush_command in Download Count 7.3
Same name and namespace in other branches
- 8 includes/download_count.drush.inc \download_count_drush_command()
Implements hook_drush_command().
File
- includes/
download_count.drush.inc, line 25 - Drush commands for download_count.
Code
function download_count_drush_command() {
$items['sparkline-plugin'] = array(
'description' => dt('Download the jquery.sparkline plugin.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'callback' => 'download_count_sparkline_download',
'aliases' => array(
'sparklines',
),
'arguments' => array(
'version' => dt('Optional: the version of the sparkline plugin to download (currently the default is ' . SPARKLINE_VERSION . ')'),
'path' => dt('Optional: a path to install the sparkline plugin. If omitted drush will use /sites/all/libraries/jquery.sparkline.'),
),
);
return $items;
}