function video_drush_command in Video 7.2
Same name and namespace in other branches
- 6.5 video.drush.inc \video_drush_command()
- 6.4 video.drush.inc \video_drush_command()
- 7 video.drush.inc \video_drush_command()
Implements hook_drush_command().
File
- ./
video.drush.inc, line 9 - Implement an drush commands to trasncode videos.
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;
}