go-pretty
Table-writer and more in golang! (by jedib0t)
go-wordwrap
A Go (golang) library for wrapping words in a string. (by mitchellh)
go-pretty | go-wordwrap | |
---|---|---|
2 | 1 | |
2,590 | 107 | |
- | - | |
7.1 | 10.0 | |
22 days ago | over 3 years ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-pretty
Posts with mentions or reviews of go-pretty.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-09.
-
Building Rich CLI Applications with Go's Built-in Templating
If anyone would be confused, the tables part is also from https://github.com/jedib0t/go-pretty
-
Box CLI Maker 📦: Make Highly Customized Boxes for your CLI
Interesting: I might have a use case for a recreational project I am writing right now. At the moment I use go-pretty but I may switch to this one since I do really need just a box.
go-wordwrap
Posts with mentions or reviews of go-wordwrap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-03.
-
Box CLI Maker 📦: Make Highly Customized Boxes for your CLI
which generates the above effect when line > term_width. I have found a temporary solution wrapping the text via go-wordwrap however I suppose that for more general use cases it can be useful to provide wrapping in your package directly :)
What are some alternatives?
When comparing go-pretty and go-wordwrap you can also consider the following projects:
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.
asciibird - ASCII Creation
box-cli-maker - Make Highly Customized Boxes for CLI
remove_emoji - Remove Emoji for Ruby 2 ~ 3.x / Rails 😈🈲
gomplate - A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
stable - Streaming pretty text table for Golang
wikitable - Wikipedia tables in your terminal
progress_bar - Go Progress Bar
stable - ASCII table creator / generator