public function get($command = null)
    {
        if (isset($command)) {
            $routes = $this->getList();
            return isset($routes[$command]) ? $routes[$command] : array();
        }

        return $this->route;
    }
public function get($command = null)
    {
        if (isset($command)) {
            $routes = $this->getList();
            return isset($routes[$command]) ? $routes[$command] : array();
        }

        return $this->route;
    }
public function get ( $ command = null ) { if ( isset ( $ command ) ) { $ routes = $ this -> getList ( ) ; return isset ( $ routes [ $ command ] ) ? $ routes [ $ command ] : array ( ) ; } return $ this -> route ; }
Returns the current CLI route
@param null|string $command
@return array
Returns the current CLI route