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

Method Pager

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

Source from the content-addressed store, hash-verified

159}
160
161func (c *cfg) Pager(hostname string) gh.ConfigEntry {
162 // Intentionally panic if there is no user provided value or default value (which would be a programmer error)
163 return c.GetOrDefault(hostname, pagerKey).Unwrap()
164}
165
166func (c *cfg) Prompt(hostname string) gh.ConfigEntry {
167 // 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