This is a toggle switch. It represents recursing directories when searching for resources. It can be replaced by using cliCommandSwitch, however having a defined command just for this makes it easier to predict application parameters and behaviour.

This command is usually used within a processing command and not directly on the application instance.

$oApp = new cliApplication('example', 'A simple example.');
$oRequest = cliRequest::getInstance()->setApplication($oApp);
    ->addCommand(new cliCommandRecurse($oRequest))


public __construct($inRequest)

Creates a new command

public execute()

Executes the command

Inherited Methods

<  1  >