function queue_drush_command

8.0.x queue_drush_command()
6.x queue_drush_command()
7.x queue_drush_command()
5.x queue_drush_command()
master queue_drush_command()

Implements hook_drush_command().


commands/core/, line 16


function queue_drush_command() {
  $items['queue-run'] = array(
    'description' => 'Run a specific queue by name',
    'arguments' => array(
      'queue_name' => 'The name of the queue to run, as defined in either hook_queue_info or hook_cron_queue_info.',
    'required-arguments' => TRUE,
  $items['queue-list'] = array(
    'description' => 'Returns a list of all defined queues',
    'options' => array(
      'pipe' => 'Return a comma delimited list of queues.',

  return $items;