()
| 549 | } |
| 550 | |
| 551 | func (p *surveyPrompter) InputHostname() (string, error) { |
| 552 | var result string |
| 553 | err := p.ask( |
| 554 | &survey.Input{ |
| 555 | Message: "Hostname:", |
| 556 | }, &result, survey.WithValidator(func(v interface{}) error { |
| 557 | return ghinstance.HostnameValidator(v.(string)) |
| 558 | })) |
| 559 | return result, err |
| 560 | } |
| 561 | |
| 562 | func (p *surveyPrompter) MarkdownEditor(prompt, defaultValue string, blankAllowed bool) (string, error) { |
| 563 | var result string |
nothing calls this directly
no test coverage detected