You are here

function recommender_drush_command in Recommender API 6.2

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

Implementation of hook_drush_command().

File

./recommender.drush.inc, line 13
RecommenderAPI drush command. To use this, please install Drush at http://drupal.org/project/drush

Code

function recommender_drush_command() {
  $items = array();
  $items['recommender'] = array(
    'callback' => 'recommender_drush_run',
    'description' => "Run RecommenderAPI based modules, compute similarity and/or prediction.",
    'arguments' => array(
      'modules' => 'Optional. A space delimited list of modules.',
    ),
  );
  return $items;
}