Releases: zoido/yag-config
Releases · zoido/yag-config
v1.0.0
v0.5.0-alpha1
Changelog
- Initial version with support for command line arguments parsing
Example:var arg int64 var stringArgs []string y := yag.New() y.Args().Int64(&arg) y.Args().Strings(&stringArgs) fmt.Print(y.Usage()) // Output: // [int64] [string, ...]
Full Changelog: v0.4.0...v0.5.0-alpha1
v0.4.0
Release 0.3.0
- internal cleanup
flag.Value
implementations extracted to the dedicated package
Release 0.2.0
- ability to disable flag or ENV source for the variables (
yag.NoEnv()
andyag.NoFlag()
options) Parser.Usage()
now just returns a formatted string. (no need to pass the destinationos.File
)- improved usage string to reflect
yag.NoEnv()
andyag.NoFlag()
options
Release v0.1.0 (1st tagged version)
- basic types
- any
flag.Value
yag.Required
- environment variable prefix
- custom environment variable