cmd
Rich Interactive Widgets for Terminal UIs
Our great sponsors
cmd | Rich Interactive Widgets for Terminal UIs | |
---|---|---|
4 | 23 | |
14 | 9,809 | |
- | - | |
4.0 | 8.2 | |
7 months ago | about 14 hours ago | |
Go | Go | |
MIT License | MIT License |
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.
cmd
-
Recommendations on building a simple DSL REPL?
I wrote this a long time ago https://github.com/gobs/cmd as Go implementation of "python cmd", for uses similar to what you describe.
-
Python library cmd2 equivalent in golang
The example here https://github.com/gobs/cmd/blob/master/example/main.go is pretty complete (but it doesn't really do anything).
-
Is there a package to create a bash-like command-line interpreter in Go?
I also have my implementation inspired by Python cmd, that I use for a bunch of my tools: https://github.com/gobs/cmd
Rich Interactive Widgets for Terminal UIs
-
What are some good projects in Go for an experienced dev?
I've had fun writing an app with https://github.com/rivo/tview.
-
Picnic-TUI - Where Go and Groceries Create a Command-Line Feast
Spotify-TUI was developed in Rust, therefore I couldn’t simply use the same UI framework. Within Go a popular choice is tview https://github.com/rivo/tview which provides many similar UI widgets which covered all my needs.
-
GoLang — Simplifying Complexity “The Beginning”
. Web backend (with various frameworks available) . Web Assembly (one of them is vugu framework) . Microservices (some frameworks: Go Micro, Go Kit, Gizmo, Kite) . Fragments services (Term mentioned by @jeffotoni in a microservices discussion group) . Lambdas (FaaS example) . Client Server . Terminal applications (using the tview lib) . IoT (some frameworks) . Bots (some here) . Client Applications using Web technology . Desktop using Qt+QML, Native Win Lib (example Qt, Qt widgets, Qml) . Network Applications . Protocol applications . REST Applications . SOAP Applications . GraphQL Applications . RPC Applications . TCP Applications . gRPC Applications . WebSocket Applications . GopherJS (compiles Go to JavaScript)
-
Recommendations on building a simple DSL REPL?
The jist of what I did: The TUI lib I used was https://github.com/rivo/tview. While technically a TUI, it didn't look like one. Tui gave me components for user input, context-aware output formatting, and configurable hotkeys and command shortcuts. History was just an in-memory string map bound to a hotkey.
-
Help to find a terminal library
tview is built on top of the tcell library mentioned in another comment. I liked it so much that I forked it as cview.
-
Ramen has reached v0.2.0, the first production-ready version (in my opinion)
It's tview, the same framework underlying awesome k9s project.
- Equivalent to Pythons Rich?
-
WhatsApp in the terminal
A tui client for WhatsApp. My first ever go project!!! As a very slow learner I am really proud of how far I could bullshit my way through it. I used tview and whatsmeow for this.
-
Need a TUI with multiline text input or good interactive CLI-interface style support
After a user request cycle, however, the tview textarea widget is now in active development so stay tuned!
- Best Package for Go Interactive Shell
What are some alternatives?
kong - Kong is a command-line parser for Go
bubbletea - A powerful little TUI framework 🏗
termui - Golang terminal dashboard
kubectl - Issue tracker and mirror of kubectl code
gocui - Minimalist Go package aimed at creating Console User Interfaces.
httpclient - More flexible http client library for Go
go-prompt - Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.
dynago - DynamoDB client for Go
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
tui-go
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.