MCPcopy
hub / github.com/cli/cli / InputHostname

Method InputHostname

pkg/cmd/auth/shared/prompt.go:6–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 Select(string, string, []string) (int, error)
5 Confirm(string, bool) (bool, error)
6 InputHostname() (string, error)
7 AuthToken() (string, error)
8 Input(string, string) (string, error)
9 Password(string) (string, error)

Callers 2

promptForHostnameFunction · 0.65
runInputHostnameFunction · 0.65

Implementers 4

PrompterMockinternal/prompter/prompter_mock.go
huhPrompterinternal/prompter/huh_prompter.go
accessiblePrompterinternal/prompter/prompter.go
surveyPrompterinternal/prompter/prompter.go

Calls

no outgoing calls

Tested by

no test coverage detected