Skip to content

Kirby 4.2.0

$request->cli()

Checks if the request has been made from the command line

$request->cli(): bool

Return type

bool

Parent class

Kirby\Http\Request