public function cliAction()
    {
        $exitCode = $this->cliApplication->run(new RequestInput($this->getRequest()), $this->output);

        if (is_numeric($exitCode)) {
            $model = new ViewModel();
            $model->setErrorLevel($exitCode);

            return $model;
        }
    }
public function cliAction()
    {
        $exitCode = $this->cliApplication->run(new RequestInput($this->getRequest()), $this->output);

        if (is_numeric($exitCode)) {
            $model = new ViewModel();
            $model->setErrorLevel($exitCode);

            return $model;
        }
    }
public function cliAction ( ) { $ exitCode = $ this -> cliApplication -> run ( new RequestInput ( $ this -> getRequest ( ) ) , $ this -> output ) ; if ( is_numeric ( $ exitCode ) ) { $ model = new ViewModel ( ) ; $ model -> setErrorLevel ( $ exitCode ) ; return $ model ; } }
Index action - runs the console application
Index action - runs the console application