SaaSHub helps you find the best software and product alternatives Learn more →
Top 19 Go CommandLine Projects
-
and it gives you a Rust dependency.
> $ rinku lookup https://github.com/spf13/cobra
-
Kargo
Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
-
No. Portainer is web-only. You can open a container console through the Portainer web UI, but Portainer itself has no terminal interface. If you want a TUI, use Lazydocker or ctop.
-
-
-
-
-
-
AppSignal
Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
-
-
-
-
flag
Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
-
-
Project mention: It's OK to Use Agentic to Revive the Projects You Never Were Going to Finish | news.ycombinator.com | 2026-04-25
I've been doing the same thing with my CLI framework. Rethinking and rebuilding with no pressure to finish is a lot of fun.
I've been using the CHANGELOG [0] as a "blog" explaining WHY I made the changes and that's really been fun to look back and read too
0: https://github.com/bbkane/warg/blob/master/CHANGELOG.md
-
orpheus
Orpheus is a high-performance CLI framework designed to be super simple and ~30× faster than popular alternatives with zero external dependencies. Built on FlashFlags, Orpheus provides a simple interface to create modern, fast CLI apps similar to git. (by agilira)
Project mention: Show HN: Orpheus – A high-performance Go CLI framework with no ext. dependencies | news.ycombinator.com | 2025-10-09Everything you need—benchmarks, intensive fuzz tests, and all security checks—is included in the repo. The project is licensed under MPL-2.0.
https://github.com/agilira/orpheus
I’d be grateful for your feedback, especially from those who have built large CLI applications in Go or maintain internal developer tooling. What are your biggest pain points with existing frameworks?
Thanks for taking a look.
-
rdf2smw
Convert RDF to Semantic MediaWiki facts in MediaWiki XML format, with a standalone commandline tool
-
-
flags
Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box. (by reeflective)
-
-
myflags
a golang module making flag/command line argument easy, define all commands/flags in a single struct
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go CommandLine discussion
Go CommandLine related posts
-
argp: GNU-style command line argument parser for Go
-
An Efficient Struct Configuration Pattern For Golang
-
Go: Functional Options Are Slow
-
MIT 6.824 MapReduce: Having trouble in connecting Hadoop file system with Golang
-
Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".
-
Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".
-
Hadoop with Golang?
-
A note from our sponsor - SaaSHub
www.saashub.com | 7 Sep 2026
Index
What are some of the best open-source CommandLine projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | cobra | 44,574 |
| 2 | ctop | 17,779 |
| 3 | gotests | 5,329 |
| 4 | hdfs | 1,404 |
| 5 | multi-gitter | 1,232 |
| 6 | tsukae | 431 |
| 7 | gemini-cli | 219 |
| 8 | joincap | 218 |
| 9 | nice | 209 |
| 10 | cmdr | 141 |
| 11 | flag | 132 |
| 12 | calories | 110 |
| 13 | warg | 56 |
| 14 | orpheus | 33 |
| 15 | rdf2smw | 20 |
| 16 | barkfetch | 19 |
| 17 | flags | 13 |
| 18 | exitplan | 1 |
| 19 | myflags | 1 |