koanf-zflag is a Koanf provider to retrieve configuration from zulucmd/zflag.
koanf-zflag is available using the standard go get
command.
Install by running:
go get github.com/zulucmd/koanf-zflag
The following example shows the use of kzflag.Provider, a wrapper over the spf13/pflag library, an advanced commandline lib. For Go's built in flag package, use basicflag.Provider.