Commit Graph
3 Commits
Author SHA1 Message Date
lukaszraczylo 5f1d9c1b72 fix(deps): migrate huh to charm.land/huh/v2
The module path moved to charm.land/huh/v2. Update the import in the ui
prompts and refresh go.mod and go.sum. No API changes were needed.
2026-10-04 10:12:32 +01:00
lukaszraczylo 9633f9ad4c fix: pre-select all in init prompt, preserve agent paths with slashes, fix rollback off-by-one 2026-05-23 11:25:31 +01:00
lukaszraczylo 498cdb061d feat: add internal/ui prompts + init subcommand
- internal/ui/prompts.go: MultiSelect with huh TUI + WithNonInteractive for tests
- internal/cli/init.go: NewInit cobra command with --from/--no-prompt flags
- internal/cli/init_test.go: TestInitImportWritesCanonical
- internal/cli/root.go: add resolveRoot helper (shared by profile/rollback/show/init)
- go.mod: add github.com/charmbracelet/huh v1.0.0 as direct dep
2026-05-23 03:32:40 +01:00