Direct (command)

Usage

This event is used for Command Line Interface usage.

How to use

This event needs to be called with php cli command (default action).

Or

Input

The event receives the following information:


 * target string : the plugin name, usage is to use it for target of action.
 * function mixed : extra param for plugin if needed, optionnal. Usage use as string.
 * option mixed : extra param for plugin if needed, optionnal.

Example

See cliEvent.php gist