Outputs version information about the current running framework. This is used by the scorpio cli tool.
$oApp = new cliApplication('example', 'A simple example.');
$oRequest = cliRequest::getInstance()->setApplication($oApp);
$oApp->getCommandChain()
->addCommand(new cliCommandVersion($oRequest))
$oApp->execute($oRequest);
public __construct($inRequest)
Creates a new command
public execute()
Executes the command
Posted by: Scorpio Documentor (Writer), in Cli on 19 Nov 2009 @ 20:30
Tags: cli, clicommand, clicommandversion,
This
work is licenced under a
Creative Commons Licence.