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
Tags: cli, clicommand, clicommandversion,
cli Articles