You are here

function fullcalendar_drush_command in FullCalendar 7

Same name and namespace in other branches
  1. 6.2 includes/fullcalendar.drush.inc \fullcalendar_drush_command()
  2. 6 fullcalendar.drush.inc \fullcalendar_drush_command()
  3. 7.2 includes/fullcalendar.drush.inc \fullcalendar_drush_command()

Implements hook_drush_command().

File

./fullcalendar.drush.inc, line 17
Drush integration for FullCalendar.

Code

function fullcalendar_drush_command() {
  $items = array();

  // the key in the $items array is the name of the command.
  $items['fullcalendar-plugin'] = array(
    'description' => dt("Downloads the FullCalendar plugin."),
    'arguments' => array(
      'path' => dt('Optional. A path where to install the FullCalendar plugin. If omitted Drush will use the default location.'),
    ),
  );
  return $items;
}