protected function configure() { $this->_projectPath = getcwd(); $this->setName("index:mode:set"); $this->setDescription("Set index mode type"); $this->addArgument('mode', InputArgument::REQUIRED, '{realtime|schedule} [indexer]'); }