#480: Implement Console Request, Routing, Response etc
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: _OTHER_ | Version: HEAD
Severity: normal | Keywords: console
--------------------------------------------+-------------------------------
This is my stab at implementing a console request/routing/response. With
routing, the command gets called like this:
cli.php <command> -param1 paramvalue1 -param2 -param3 paramvalue3
Without routing, the call is like this:
cli.php <module.action> -param1 paramvalue1 -param2 -param3 paramvalue3
All arguments that start with a dash(-) or double dash (--) will be
regarded as paramname and the following argument as param value if it does
not start with a dash or double dash. Parameters that have no following
argument will be set to "true" to indicate that they have been passed.
--
Ticket URL: <http://trac.agavi.org/ticket/480>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets