(prompt, defaultValue string)
| 134 | } |
| 135 | |
| 136 | func (p *huhPrompter) Input(prompt, defaultValue string) (string, error) { |
| 137 | form, result := p.buildInputForm(prompt, defaultValue) |
| 138 | err := p.runForm(form) |
| 139 | return *result, err |
| 140 | } |
| 141 | |
| 142 | func (p *huhPrompter) buildPasswordForm(prompt string) (*huh.Form, *string) { |
| 143 | var result string |
nothing calls this directly
no test coverage detected