function mailchimp_ecommerce_drush_command in Mailchimp E-Commerce 8
Same name and namespace in other branches
- 7 includes/mailchimp_ecommerce.drush.inc \mailchimp_ecommerce_drush_command()
Implements hook_drush_command().
File
- ./
mailchimp_ecommerce.drush.inc, line 6
Code
function mailchimp_ecommerce_drush_command() {
$commands = [];
$commands['mc-ecommerce-get-stores'] = [
'description' => 'Gets stores attached to the currently set Mailchimp API key.',
'aliases' => [
'mcstores',
],
];
$commands['mc-ecommerce-get-orders'] = [
'description' => 'Gets orders attached to a given store ID.',
'aliases' => [
'mcorders',
],
'options' => [
'store_id' => 'ID of the store as defined by Mailchimp.',
],
];
return $commands;
}