Commit Graph
2 Commits
Author SHA1 Message Date
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