function google_analytics_reports_drush_command in Google Analytics Reports 8.3
Same name and namespace in other branches
- 7.3 google_analytics_reports.drush.inc \google_analytics_reports_drush_command()
Implements hook_drush_command().
File
- ./
google_analytics_reports.drush.inc, line 14 - Drush integration for Google Analytics Reports module.
Code
function google_analytics_reports_drush_command() {
$commands = [];
$commands['google-analytics-reports-fields'] = [
'aliases' => [
'garf',
],
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'description' => dt('Import Google Analytics fields.'),
'examples' => [
'drush google-analytics-reports-fields' => dt('Import Google Analytics fields for Google Analytics Reports module.'),
],
'callback' => 'drush_google_analytics_reports_fields',
];
return $commands;
}