function tweet_feed_drush_command in Tweet Feed 7.2
Same name and namespace in other branches
- 7.3 tweet_feed.drush.inc \tweet_feed_drush_command()
Implements hook_drush_command().
File
- ./
tweet_feed.drush.inc, line 6
Code
function tweet_feed_drush_command() {
$items = array();
$items['tf-import-tweets'] = array(
'description' => t('Import Tweets'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
'options' => array(
'fid' => array(
'description' => 'The numberic ID of the feed you wish to process. Omit to process all feeds.',
),
'all' => array(
'description' => 'Update all available feeds.',
),
),
'examples' => array(
'tf-import-tweets' => 'Load the tweets for all configured feeds.',
'tf-import-tweets --fid=1' => 'Load the tweets for feed ID 1',
),
);
return $items;
}