Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/artyom/autoflags

Populate go command line app flags from config struct
https://github.com/artyom/autoflags

command-line go

Last synced: 28 days ago
JSON representation

Populate go command line app flags from config struct

Awesome Lists containing this project

README

        

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][1].

[1]: http://godoc.org/github.com/artyom/autoflags