Package Usage: go: github.com/theckman/yacspin
Package yacspin provides Yet Another CLi Spinner for Go, taking inspiration
(and some utility code) from the https://github.com/briandowns/spinner
project. Specifically this project borrows the default character sets, and
color mappings to github.com/fatih/color colors, from that project.
This spinner should support all major operating systems, and is tested
against Linux, MacOS, and Windows.
This spinner also supports an alternate mode of operation when the TERM
environment variable is set to "dumb". This is discovered automatically when
constructing the spinner.
Within the yacspin package there are some default spinners stored in the
yacspin.CharSets variable, and you can also provide your own. There is also a
list of known colors in the yacspin.ValidColors variable, if you'd like to
see what's supported. If you've used github.com/fatih/color before, they
should look familiar.
Check out the Config struct to see all of the possible configuration options
supported by the Spinner.
30 versions
Latest release: over 3 years ago
123 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/theckman/yacspin