MCPcopy Create free account
hub / github.com/cli/cli / Config

Function Config

internal/debug/config_enabled.go:11–13  ·  view source on GitHub ↗

Config reads internal debug overrides from the environment. Without the ghdebug build tag it ignores the environment and returns a DebugConfig with no overrides set. In debug builds, invalid environment values cause a panic.

()

Source from the content-addressed store, hash-verified

9// Without the ghdebug build tag it ignores the environment and returns a DebugConfig with no overrides set.
10// In debug builds, invalid environment values cause a panic.
11func Config() DebugConfig {
12 return configFromEnv()
13}

Callers

nothing calls this directly

Calls 1

configFromEnvFunction · 0.85

Tested by

no test coverage detected