You can wrok around it by supplying the FrontController with a custom Router which basically stubs all the right methods a Router needs, but which are all empty. So the FC can do routing, but the Router is just a dummy class that does nothing. Messy, but works ;). Here's the class I'm using:
<?php
class ZFExt_Controller_Router_Cli implements Zend_Controller_Router_Interface
{
public function route(Zend_Controller_Request_Abstract $dispatcher){}
public function assemble($userParams, $name = null, $reset = false, $encode = true){}
public function getFrontController(){}
public function setFrontController(Zend_Controller_Front $controller){}
public function setParam($name, $value){}
public function setParams(array $params){}
public function getParam($name){}
public function getParams(){}
public function clearParams($name = null){}
}
http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative
From: water <zflist@yahoo.com>
To: fw-mvc@lists.zend.com
Sent: Wed, September 30, 2009 9:35:55 PM
Subject: [fw-mvc] creating a cli interface to mvc web app