/autoflags

Populate go command line app flags from config struct

Primary LanguageGoMIT LicenseMIT

autoflags

Package autoflags provides a convenient way of exposing struct fields as command line flags. Exposed fields should have flag tag attached: flag:"flagName,usage string".

For examples see documentation.