You are here

function google_analytics_reports_drush_command in Google Analytics Reports 7.3

Same name and namespace in other branches
  1. 8.3 google_analytics_reports.drush.inc \google_analytics_reports_drush_command()

Implements hook_drush_command().

File

./google_analytics_reports.drush.inc, line 11
Drush integration for Google Analytics Reports module.

Code

function google_analytics_reports_drush_command() {
  $commands = array();
  $commands['google-analytics-reports-fields'] = array(
    'aliases' => array(
      'garf',
    ),
    'bootstrap' => DRUSH_BOOTSTRAP_NONE,
    'description' => dt('Import Google Analytics fields.'),
    'examples' => array(
      'drush google-analytics-reports-fields' => dt('Import Google Analytics fields for Google Analytics Reports module.'),
    ),
    'callback' => 'drush_google_analytics_reports_fields',
  );
  return $commands;
}