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