Versions in this module Expand all Collapse all v1 v1.0.0 Oct 6, 2025 Changes in this version + func AskConfirm(title string, defaultValue bool) (bool, error) + func AskMultiSelect(title string, options []SelectOption, limit int) ([]string, error) + func AskSelect(title string, options []SelectOption) (string, error) + func AskString(title, placeholder string) (string, error) + type Confirm struct + Affirmative string + Description string + Negative string + Title string + Value *bool + func (c *Confirm) Run() error + type Form struct + Description string + Groups []FormGroup + Title string + func (f *Form) Run() error + type FormGroup struct + Fields []huh.Field + Title string + type MultiSelect struct + Description string + Limit int + Options []SelectOption + Title string + Value *[]string + func (m *MultiSelect) Run() error + type Prompt struct + Description string + Placeholder string + Required bool + Title string + Value *string + func (p *Prompt) Run() error + type Select struct + Description string + Options []SelectOption + Title string + Value *string + func (s *Select) Run() error + type SelectOption struct + Key string + Value string + type Text struct + CharLimit int + Description string + Placeholder string + Required bool + Title string + Value *string + func (t *Text) Run() error