mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Remove all survey/v2 dependency (7 call sites) and fuzzy direct usage: - search.go: survey.Input → bufio.NewReader for simple text prompts - init.go: survey.Select → inline numbered prompt for sync mode - init.go: survey.MultiSelect → checklist TUI for target/agent selection - init_project.go: survey.MultiSelect → checklist TUI for project targets - install_prompt.go: survey.Select → checklist TUI for orchestrator mode - install_prompt.go: delete dead promptSearchSelect function - install_prompt.go: fuzzy → strings.Contains for filterSkillsByName Add generic checklist_tui.go supporting both multi-select and single-select, reusing the existing bubbletea/bubbles styling. Sync mode uses a simple inline prompt (no alt-screen) for smoother init flow, with a copy-mode hint when non-copy is selected. TUI selections now print confirmation after exit so users see what they chose.
44 lines
1.7 KiB
AMPL
44 lines
1.7 KiB
AMPL
module skillshare
|
|
|
|
go 1.25.5
|
|
|
|
require (
|
|
github.com/charmbracelet/bubbles v1.0.0
|
|
github.com/charmbracelet/bubbletea v1.3.10
|
|
github.com/charmbracelet/lipgloss v1.1.0
|
|
github.com/mattn/go-runewidth v0.0.19
|
|
github.com/pterm/pterm v0.12.82
|
|
golang.org/x/term v0.32.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
atomicgo.dev/cursor v0.2.0 // indirect
|
|
atomicgo.dev/keyboard v0.2.9 // indirect
|
|
atomicgo.dev/schedule v0.1.0 // indirect
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/charmbracelet/colorprofile v0.4.1 // indirect
|
|
github.com/charmbracelet/x/ansi v0.11.6 // indirect
|
|
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
|
|
github.com/charmbracelet/x/term v0.2.2 // indirect
|
|
github.com/clipperhouse/displaywidth v0.9.0 // indirect
|
|
github.com/clipperhouse/stringish v0.1.1 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
|
|
github.com/containerd/console v1.0.5 // indirect
|
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
|
github.com/gookit/color v1.5.4 // indirect
|
|
github.com/lithammer/fuzzysearch v1.1.8 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
github.com/muesli/termenv v0.16.0 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/sahilm/fuzzy v0.1.1 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/text v0.26.0 // indirect
|
|
)
|