Top 0.9% dependent packages on proxy.golang.org
Top 1.2% dependent repos on proxy.golang.org
Top 2.0% docker downloads on proxy.golang.org
proxy.golang.org : github.com/thediveo/enumflag/v2
Package enumflag supplements the Golang CLI flag handling packages spf13/cobra and spf13/pflag with enumeration flags. For instance, users can specify enum flags as “--mode=foo” or “--mode=bar”, where “foo” and “bar” are valid enumeration values. Other values which are not part of the set of allowed enumeration values cannot be set and raise CLI flag errors. Application programmers then simply deal with enumeration values in form of uints (or ints), liberated from parsing strings and validating enumeration flags.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/thediveo/enumflag/v2
Keywords:
cli
, cli-flags
, enum
, go
, golang
License: Apache-2.0
Latest release: 5 months ago
First release: almost 3 years ago
Namespace: github.com/thediveo/enumflag
Dependent packages: 32
Dependent repositories: 19
Stars: 15 on GitHub
Forks: 2 on GitHub
Docker dependents: 5
Docker downloads: 88,635
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago