MCPcopy Index your code
hub / github.com/cli/cli / Prompt

Method Prompt

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

Prompt returns the configured prompt, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

53 Pager(hostname string) ConfigEntry
54 // Prompt returns the configured prompt, optionally scoped by host.
55 Prompt(hostname string) ConfigEntry
56 // PreferEditorPrompt returns the configured editor-based prompt, optionally scoped by host.
57 PreferEditorPrompt(hostname string) ConfigEntry
58 // Spinner returns the configured spinner setting, optionally scoped by host.

Callers 3

LoginFunction · 0.65
newIOStreamsFunction · 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