Phase 6: Migrate MultiSelect and Multiline prompts to huh
Overview
Migrate less common prompt types.
Files
-
internal/prompt/prompt.go:33- MultiSelect helper -
internal/prompt/prompt.go:50- Multiline helper - All command files using these helpers
Implementation
// MultiSelect
var selected []string
huh.NewMultiSelect[string]().
Title("Select labels:").
Options(
huh.NewOption("bug", "bug"),
huh.NewOption("feature", "feature"),
).
Value(&selected).
Run()
// Multiline (use Text)
var text string
huh.NewText().
Title("Enter description:").
Value(&text).
Lines(5).
Run()
Success Criteria
- MultiSelect works for label/tag selection
- Multiline text input works with configurable height
- Character limits work if needed
Effort: 2 days