Skip to content

Kirby 4.4.1

$request->cli()

Checks if the request has been made from the command line

$request->cli(): bool

Return type

bool

Parent class

Kirby\Http\Request