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

Method InputHostname

internal/prompter/huh_prompter.go:242–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242func (p *huhPrompter) InputHostname() (string, error) {
243 form, result := p.buildInputHostnameForm()
244 err := p.runForm(form)
245 if err != nil {
246 return "", err
247 }
248 return *result, nil
249}
250
251func (p *huhPrompter) buildMarkdownEditorForm(prompt string, blankAllowed bool) (*huh.Form, *string) {
252 var result string

Callers

nothing calls this directly

Calls 2

runFormMethod · 0.95

Tested by

no test coverage detected