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

Method PreferEditorPrompt

internal/gh/gh.go:63–63  ·  view source on GitHub ↗

PreferEditorPrompt returns the configured editor-based prompt, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

61 Prompt(hostname string) ConfigEntry
62 // PreferEditorPrompt returns the configured editor-based prompt, optionally scoped by host.
63 PreferEditorPrompt(hostname string) ConfigEntry
64 // ExpiringCredentials returns the configured expiring_credentials setting, optionally scoped by host.
65 ExpiringCredentials(hostname string) ConfigEntry
66 // Spinner returns the configured spinner setting, optionally scoped by host.

Callers 2

InitEditorModeFunction · 0.65
config.goFile · 0.65

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by

no test coverage detected