phalcon/cphalcon — pull request #2804 by kjdev (2014-09-11 02:06:47+00:00)
Title: Updated command-line routing and console, dispatcher

* updated to Phalcon\Cli\Router (Phalcon\Mvc\ Router like.)
* parse the argument at Phalcon\Cli\Console::setArgument.
* get/set the option of the argument (-opt, --opt, --opt=OPT) at Phalcon\Cli\Dispatcher::setOptions, getOptions

sample code: https://gist.github.com/kjdev/956c7837d7fd50c45f12