function imagelightbox_drush_command in ImageLightbox 8
Same name and namespace in other branches
- 2.0.x imagelightbox.drush.inc \imagelightbox_drush_command()
Implements hook_drush_command().
File
- ./
imagelightbox.drush.inc, line 19 - Drush integration for ImageLightBox module.
Code
function imagelightbox_drush_command() {
$items['imagelightbox-download'] = [
'description' => dt('Download and install the most recent version of ImageLightBox library.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'aliases' => [
'ilb-dl',
],
'arguments' => [
'mod_update' => dt('Set the option (ex. "drush ilb-dl mod_update") to update the imagelightbox in the module/libraries-directory and overwrite the distributed files.
To download all files to the /libraries-directory, DO NOT SET this option (ex. "drush ilb-dl")! '),
],
];
return $items;
}