You are here

function video_drush_command in Video 6.5

Same name and namespace in other branches
  1. 6.4 video.drush.inc \video_drush_command()
  2. 7.2 video.drush.inc \video_drush_command()
  3. 7 video.drush.inc \video_drush_command()

Implementation of hook_drush_command().

File

./video.drush.inc, line 10
Drush commands for the Video module

Code

function video_drush_command() {
  $items = array();
  $items['video-scheduler'] = array(
    'description' => 'Run video transcoder scheduler',
    'callback' => 'drush_video_scheduler',
    'drupal dependencies' => array(
      'video',
    ),
    'options' => array(
      '--limit' => 'Change the number of video items to transcode',
    ),
  );
  return $items;
}