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

Method InputHostname

internal/prompter/prompter.go:48–48  ·  view source on GitHub ↗

InputHostname prompts the user to enter a hostname.

()

Source from the content-addressed store, hash-verified

46 ConfirmDeletion(requiredValue string) error
47 // InputHostname prompts the user to enter a hostname.
48 InputHostname() (string, error)
49 // MarkdownEditor prompts the user to edit a markdown document in an editor.
50 // If blankAllowed is true, the user can skip the editor and an empty string
51 // will be returned.

Callers 1

TestAccessiblePrompterFunction · 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 1

TestAccessiblePrompterFunction · 0.52