You are here

function timefield_drush_command in Timefield 7

Implements hook_drush_command().

File

./timefield.drush.inc, line 16
drush integration for timefield.

Code

function timefield_drush_command() {
  $items = array();
  $items['timefield-plugin'] = array(
    'callback' => 'drush_timefield_plugin',
    'description' => dt("Downloads the jQuery UI Timepicker plugin."),
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'arguments' => array(
      'path' => dt('Optional. A path where to install the timefield plugin. If omitted Drush will use the default location.'),
    ),
    'aliases' => array(
      'timepicker-plugin',
    ),
  );
  return $items;
}