xflags
Expressive flags for Go (by cavaliergopher)
conf
Package conf provides support for using environmental variables and command line arguments for configuration. (by ardanlabs)
xflags | conf | |
---|---|---|
1 | 2 | |
17 | 219 | |
- | 2.3% | |
0.0 | 4.9 | |
about 1 year ago | 6 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
xflags
Posts with mentions or reviews of xflags.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-16.
-
I'm looking for a good alternativ to Viper
Self promo: it won’t help with the config file side of things but should elegantly cover the flags and environment variables: https://github.com/cavaliergopher/xflags.
conf
Posts with mentions or reviews of conf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-16.
What are some alternatives?
When comparing xflags and conf you can also consider the following projects:
ff - Flags-first package for configuration
go-envconfig - A Go library for parsing struct tags from environment variables.
cleanenv - ✨Clean and minimalistic environment configuration reader for Golang
go-yamlcfg
confetti - A minimal configuration manager for Go applications.
copre - A small library to load configuration from multiple sources with predefined precedence
kong - Kong is a command-line parser for Go
urfave/cli - A simple, fast, and fun package for building command line apps in Go