$environment->cli() Checks if the request is being served by the CLI kirby/src/Http/Environment.php#L177 $environment->cli(): bool Return type bool Parent class Kirby\Http\Environment