add a spinner for long running commands

This commit is contained in:
2026-02-21 01:58:26 +00:00
parent b1161e1e97
commit cf82b29de5
3 changed files with 82 additions and 33 deletions

6
go.mod
View File

@@ -4,6 +4,7 @@ go 1.25.0
require (
github.com/charmbracelet/log v0.4.2
github.com/chelnak/ysmrr v0.6.0
github.com/peterbourgon/ff/v4 v4.0.0-beta.1
)
@@ -14,13 +15,16 @@ require (
github.com/charmbracelet/x/ansi v0.8.0 // indirect
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
github.com/charmbracelet/x/term v0.2.1 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/muesli/termenv v0.16.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
golang.org/x/sys v0.34.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/term v0.40.0 // indirect
)