function addressfield_autocomplete_drush_command in Addressfield Autocomplete 7
Implements hook_drush_command().
File
- ./
addressfield_autocomplete.drush.inc, line 13 - Drush integration for addressfield autocomplete.
Code
function addressfield_autocomplete_drush_command() {
$items = array();
$items['geocomplete-plugin'] = array(
'callback' => 'drush_addressfield_autocomplete_geocomplete_plugin',
'description' => dt('Download and install the Geocomplete plugin.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'options' => array(
'version' => dt('The version of the geocomplete plugin to download e.g. 1.6.3'),
'path' => dt('A path where to install the Geocomplete plugin. If omitted Drush will use the default location.'),
),
'aliases' => array(
'geocompleteplugin',
'addressfieldautocomplete-plugin',
),
);
return $items;
}