mini
go-arg
Our great sponsors
mini | go-arg | |
---|---|---|
0 | 2 | |
75 | 1,391 | |
- | - | |
0.0 | 3.8 | |
almost 7 years ago | 5 days ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" 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.
mini
We haven't tracked posts mentioning mini yet.
Tracking mentions began in Dec 2020.
go-arg
-
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.
What are some alternatives?
argparse - Argparse for golang. Just because `flag` sucks
cobra - A Commander for modern Go CLI interactions
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
env - A simple and zero-dependencies library to parse environment variables into structs.
go-flags - go command line option parser
viper - Go configuration with fangs
CONFLATE - Library providing routines to merge and validate JSON, YAML and/or TOML files
kelseyhightower/envconfig - Golang library for managing configuration data from environment variables
store - A dead simple configuration manager for Go applications
cleanenv - ✨Clean and minimalistic environment configuration reader for Golang
envconfig - Small library to read your configuration from environment variables