You are here

function fullcalendar_drush_command in FullCalendar 6.2

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

Implementation of hook_drush_command().

File

includes/fullcalendar.drush.inc, line 16
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;
}