public function __construct(Configuration $conf)
 {
     parent::__construct('server:ensure-configuration');
     $this->conf = $conf;
     $this->setDescription('Ensure that queues and echanges are declared and bounds')->addOption('dry-run', 'd', InputOption::VALUE_NONE, 'Dry run the command');
     return $this;
 }
Esempio n. 2
0
 public function __construct(Configuration $conf)
 {
     parent::__construct('server:run');
     $this->conf = $conf;
     $this->setDescription('Run gloubster server');
     $this->addOption('test', 't', InputOption::VALUE_NONE, 'start and stop the server');
     return $this;
 }