mpb
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-isatty
-
cream - data stream encryption utility
Also, check on start, if you are in terminal (you might want to use isatty C analog like go-isatty), then run usage function instead of asking for password (basically simple run with no argument or stdin, - it shouldn't ask for password and later throw a garbage to a terminal but instead show "help" since there no input stream, not file to encrypt/decrypt)
-
Simple CLI Colorizing in Go
Note, you also need to handle piping to other programs or sending output to a file. See the logic in https://github.com/fatih/color/blob/master/color.go, https://github.com/mattn/go-colorable and https://github.com/mattn/go-isatty.
mpb
-
Looking for a package that can show multi-lined, multiple progress bar
You might suggest using mpb but I don't think mpb would fit my desire, because it is mainly for 'one line for one progress bar'.
- Create multi-line loading bars?
-
tqdm (Python)
While not having all the tqdm features, i find mpb to be quite good actually.
https://github.com/vbauerster/mpb
What are some alternatives?
pterm - ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.
uiprogress - A go library to render progress bars in terminal applications
termenv - Advanced ANSI style & color support for your terminal applications
chalk - Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk
go-colorable
frep - Generate file using template from environment, arguments, json/yaml/toml config files
gocui - Minimalist Go package aimed at creating Console User Interfaces.
termui - Golang terminal dashboard
aurora - Golang ultimate ANSI-colors that supports Printf/Sprintf methods
uitable - A go library to improve readability in terminal apps using tabular data