(groups ...*huh.Group)
| 88 | } |
| 89 | |
| 90 | func (p *accessiblePrompter) newForm(groups ...*huh.Group) *huh.Form { |
| 91 | return huh.NewForm(groups...). |
| 92 | WithTheme(huh.ThemeFunc(huh.ThemeBase16)). |
| 93 | WithAccessible(true). |
| 94 | WithInput(p.stdin). |
| 95 | WithOutput(p.stdout) |
| 96 | } |
| 97 | |
| 98 | // addDefaultsToPrompt adds default values to the prompt string. |
| 99 | func (p *accessiblePrompter) addDefaultsToPrompt(prompt string, defaultValues []string) string { |
no test coverage detected