public function run(bool $useSafeOutput = false)
	{
		$path = CLI::getURI() ?: 'list';

		// Set the path for the application to route to.
		$this->app->setPath("ci{$path}");

		return $this->app->useSafeOutput($useSafeOutput)->run();
	}
public function run(bool $useSafeOutput = false)
	{
		$path = CLI::getURI() ?: 'list';

		// Set the path for the application to route to.
		$this->app->setPath("ci{$path}");

		return $this->app->useSafeOutput($useSafeOutput)->run();
	}
public function run ( bool $ useSafeOutput = false ) { $ path = CLI :: getURI ( ) ? : 'list' ; // Set the path for the application to route to. $ this -> app -> setPath ( "ci{$path}" ) ; return $ this -> app -> useSafeOutput ( $ useSafeOutput ) -> run ( ) ; }
Runs the current command discovered on the CLI.

@param boolean $useSafeOutput

@return \CodeIgniter\HTTP\RequestInterface|\CodeIgniter\HTTP\Response|\CodeIgniter\HTTP\ResponseInterface|mixed
@throws \Exception
Runs the current command discovered on the CLI .