SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Go Standard CLI Projects
-
and it gives you a Rust dependency.
> $ rinku lookup https://github.com/spf13/cobra
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
urfave/cli
A declarative, simple, fast, and fun package for building command line tools in Go (by urfave)
-
https://fishshell.com/ https://xon.sh/ https://www.nushell.sh/ https://elv.sh/
You're replying to someone that says POSIX shells are holding people back, not that the terminal is a bad idea, there are many alternative shells which offer benefits over POSIX shells. fish-shell has everything you want from an interactive shell included, xonsh is a mix Python shell, nushell and elvish are adding types and other things to shell.
The VT protocols that all shells have to confirm with are pretty dated and I'd love to throw them off the roof for something less stateful and with multiple font sizes but there's no arguing that text based interfaces are good.
-
-
-
-
The Platinum Searcher
A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings.
Project mention: Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift} | news.ycombinator.com | 2026-03-24I was just trying to remember why I switched _to_ rg.
It's nice and everything, but I remember being happy with the tools before (I think i moved from grep to ack, then jumped due to perf to ag and for unremembered reasons to pt.)
It took me a while, but I remembered I ran into an issue with pt incorrectly guessing the encoding of some files[0].
I do know after switching to rg everything was plain sailing and I've been happy with it since.
[0] https://github.com/monochromegane/the_platinum_searcher/issu...
-
Project mention: Why Go Is an Ideal Language for AI-Assisted Software Engineering | news.ycombinator.com | 2026-08-11
Yeah same but I always allow https://github.com/spf13/pflag because e.g. Claude really struggles with the default flag package (and it's shit in general)
-
-
-
-
-
-
-
flaggy
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.
-
-
-
-
-
-
-
Go Standard CLI discussion
Go Standard CLI related posts
-
Carapace
-
Carapace
-
Flaggy package updated for first time since 2022 because of AI
-
Docopt Command-line interface description language
-
Rethinking How I Deal With CLI Arguments (replacing getopt)
-
argp: GNU-style command line argument parser for Go
-
Show HN: Protostar – A CLI Prototyping Tool
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Nov 2026
Index
What are some of the best open-source Standard CLI projects in Go? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | cobra | 44,783 |
| 2 | urfave/cli | 24,322 |
| 3 | elvish | 6,397 |
| 4 | kingpin | 3,566 |
| 5 | kong | 3,203 |
| 6 | Dnote | 3,096 |
| 7 | The Platinum Searcher | 2,819 |
| 8 | pflag | 2,786 |
| 9 | go-flags | 2,693 |
| 10 | readline | 2,314 |
| 11 | carapace-bin | 2,015 |
| 12 | carapace | 1,490 |
| 13 | docopt.go | 1,443 |
| 14 | liner | 1,099 |
| 15 | flaggy | 956 |
| 16 | complete | 956 |
| 17 | cli-init | 916 |
| 18 | mow.cli | 884 |
| 19 | cli | 723 |
| 20 | box-cli-maker | 667 |
| 21 | argparse | 639 |
| 22 | 1build | 250 |
| 23 | wmenu | 231 |