CLI

Perform an application in Command-Line Interface. It lets you enables script using the system command line as runtime.


CLI Instance

Implementation CLI instance.

$factory = new \Pneuma\Cli();

CLI Interface

Describes CLI interface.

withBaseCli

Return an instance with provided base cli path. Throw PneumaException if invalid.

$factory = $factory->withBaseCli($cli_path);

withBaseCommand

Return an instance with provided base command path. Throw PneumaException if invalid.

$factory = $factory->withBaseCommand($command_path);