Lithium console: console command to interact with your li3 application.
- Please note:** this code is experimental and is in a very early stage, do not use it in production.
- Usage
li3 console running in development environment, PHP5.3.6 (Darwin) [development]> Environment::get() => 'development' [development]> $req = new lithium\action\Request(array('url' => '/hello/test?my=data')) => <Request url:'/hello/test?my=data'> [development]> $c = new HelloWorldController(array('request' => $req)) => <HelloWorldController request:<Request url:'/hello/test?my=data'> response:<Response status:200/'OK' type:'text/html' body:''>> [development]> $c($req, array()) => <Response status:200/'OK' type:'text/html' body:'Hello World!'> [development]> $c => <HelloWorldController request:<Request url:'/hello/test?my=data'> response:<Response status:200/'OK' type:'text/html' body:'Hello World!'>> [development]> q Exiting.