You are here

function recommender_drush_command in Recommender API 7.6

Same name and namespace in other branches
  1. 6.2 recommender.drush.inc \recommender_drush_command()
  2. 7.4 recommender.drush.inc \recommender_drush_command()
  3. 7.5 recommender.drush.inc \recommender_drush_command()

Implements hook_drush_command().

File

./recommender.drush.inc, line 6

Code

function recommender_drush_command() {
  $items = array();
  $items['recommender-run'] = array(
    'description' => "Process recommender commands sequentially. You need to submit a command in the admin interface first.",
  );
  $items['recommender-cron'] = array(
    'description' => "Process 'cron callback' defined in hook_recommender_data().",
    'options' => array(
      'force' => 'Force run cron callbacks.',
    ),
  );
  $items['recommender-upkeep'] = array(
    'description' => "Process 'upkeep callback' defined in hook_recommender_data().",
  );
  return $items;
}