go-arg
The Platinum Searcher
Our great sponsors
go-arg | The Platinum Searcher | |
---|---|---|
6 | 2 | |
1,861 | 2,794 | |
- | - | |
4.4 | 0.0 | |
25 days ago | 9 months ago | |
Go | Go | |
BSD 2-clause "Simplified" 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.
go-arg
- Go-Arg: Struct-based argument parsing in Go
-
Build a GitHub Issues Reporter for failing Kubernetes Apps with Botkube Plugins
Under the hood, the pluginx.ParseCommand method uses go-arg.
-
Libraries for CLI and console applications
I’ve used multiple libraries over the last two years but less is more and go-arg feels like something that would be in the stdlib: https://github.com/alexflint/go-arg
- Libraries you use most of your projects?
-
Best practice for configuring secrets
I use this: https://github.com/alexflint/go-arg and setting defaults for my local environment. So no need to keep a .env file.
-
Recommended framework/library for creating cli apps in go?
I personally swear by the go-arg package, as i prefer its library-not-framework approach.
The Platinum Searcher
-
Go devs that learned Rust, what are your thoughts on it?
People have tried. See the_platinum_searcher and sift.
-
Please help finish simple ebuild with binary Go app the_platinum_search
DESCRIPTION="Fast CLI search tool, faster than grep, ack, silver_searcher (ag)" HOMEPAGE="https://github.com/monochromegane/the_platinum_searcher" SRC_URI="https://github.com/monochromegane/the_platinum_searcher/releases/download/v${PV}/pt_linux_amd64.tar.gz"
What are some alternatives?
argparse - Argparse for golang. Just because `flag` sucks
Git Town - Additional Git commands for easier branch management and support for stacked changes
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
cobra - A Commander for modern Go CLI interactions
cli - CLI - A package for building command line app with go
go-flags - go command line option parser
wmenu - An easy to use menu structure for cli applications that prompts users to make choices.
viper - Go configuration with fangs
cli-init - The easy way to build Golang command-line application.
docopt.go - A command-line arguments parser that will make you smile.
mow.cli - A versatile library for building CLI applications in Go