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

Method AccessiblePrompter

internal/config/config.go:125–128  ·  view source on GitHub ↗
(hostname string)

Source from the content-addressed store, hash-verified

123}
124
125func (c *cfg) AccessiblePrompter(hostname string) gh.ConfigEntry {
126 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
127 return c.GetOrDefault(hostname, accessiblePrompterKey).Unwrap()
128}
129
130func (c *cfg) Browser(hostname string) gh.ConfigEntry {
131 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)

Callers 1

NewMockConfigFromStringFunction · 0.95

Calls 2

GetOrDefaultMethod · 0.95
UnwrapMethod · 0.45

Tested by

no test coverage detected