function select2_drush_command in Select 2 7
Implements hook_drush_command().
For a list of recognized keys @See drush_parse_command()
File
- drush/
select2.drush.inc, line 20 - drush integration for select2.
Code
function select2_drush_command() {
$items = array();
$items['select2-download'] = array(
'callback' => '_select2_drush_download_select2',
'description' => dt('Downloads the Select2 from authors github.com repository.'),
'options' => array(
'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (sites/all/libraries/select2).'),
'tag' => dt('Optional. The Select2 repository tag for download. If ommited @tag tag will be used. You can use "master" tag for download last Select2 version.'),
),
'aliases' => array(
'sel2dl',
),
);
return $items;
}