()
| 240 | } |
| 241 | |
| 242 | func (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 | |
| 251 | func (p *huhPrompter) buildMarkdownEditorForm(prompt string, blankAllowed bool) (*huh.Form, *string) { |
| 252 | var result string |
nothing calls this directly
no test coverage detected