CliModule::executeCli()

Execute given command

Output: standard output. This ensures CLI users see line-by-line output rather than everything at once when execution finishes.

No need for a trailing newline in the output: ProcessWire adds one already.

Usage

$cliModule->executeCli(array $args);

Arguments

NameType(s)Description
$argsarray

Command line arguments passed, excluding module/cli name


CliModule methods and properties

API reference based on ProcessWire core version 3.0.269