(groups ...*huh.Group)
| 20 | } |
| 21 | |
| 22 | func (p *huhPrompter) newForm(groups ...*huh.Group) *huh.Form { |
| 23 | return huh.NewForm(groups...). |
| 24 | WithTheme(huh.ThemeFunc(huh.ThemeBase16)). |
| 25 | WithInput(p.stdin). |
| 26 | WithOutput(p.stdout) |
| 27 | } |
| 28 | |
| 29 | func (p *huhPrompter) runForm(form *huh.Form) error { |
| 30 | err := form.Run() |
no test coverage detected