Magestead\Command\Index\SetModeCommand::configure PHP Method

configure() protected method

protected configure ( )
    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]');
    }