public function __construct()
 {
     parent::__construct();
     $this->addArgument('gateway', 'Create IPN messages for which gateway', true);
     $this->addOption('max-messages', 'At most create <n> messages', 10, 'm');
     $this->addOption('output-dir', 'Write messages to this directory', getcwd(), 'o');
 }
 public function __construct()
 {
     parent::__construct();
     $this->addOption('queue', 'queue name to consume from', 'jobs');
     $this->addOption('time-limit', 'Try to keep execution under <n> seconds', 60, 't');
     $this->addOption('max-messages', 'At most consume <n> messages', 10, 'm');
 }
 public function __construct()
 {
     parent::__construct();
     // Sample option to add; can be used on the command line with either a:
     // --message "string" or -m "String"
     // See MaintenanceBase::addDefaultParams() for the default options it sets
     $this->addOption('message', 'message to print out', 'Hello World!', 'm');
 }
 public function __construct()
 {
     parent::__construct();
     $this->addOption('days', 'Number of days of reports to download', 7, 'd');
     $this->addOption('archive-path', 'Directory to scan for archived reports');
     $this->addOption('download-path', 'Directory to save downloaded reports');
     // Override the default config node
     $this->desiredOptions['config-node']['default'] = 'amazon';
 }
 public function __construct()
 {
     parent::__construct();
     $this->addOption('queue', 'queue name to consume from', 'test');
     $this->addOption('max-messages', 'At most consume <n> messages, 0 is infinite', 10, 'm');
     $this->addOption('outfile', 'File to place JSON encoded messages into', 'messages.json', 'f');
     $this->addOption('raw', 'Do not ensure that extracted messages are SmashPig objects');
     $this->addOption('no-ack', 'Do not ack messages - leave them in the queue');
     $this->addArgument('selector', 'STOMP selector to use', false);
     $this->addArgument('selector2', 'Additional STOMP selectors...', false);
 }
 public function __construct()
 {
     parent::__construct();
     $this->addArgument('queue', 'Queue datastore to test', true);
 }
 public function __construct()
 {
     parent::__construct();
     $this->addOption('max-messages', 'At most requeue <n> messages', 500, 'm');
 }
 public function __construct()
 {
     parent::__construct();
     $this->addOption('queue', 'queue name to inject into', 'test');
     $this->addArgument('file', 'File, created by EmptyQueueToDump, with JSON format messages to inject', true);
 }