Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/artyom/autoflags
- Owner: artyom
- License: mit
- Created: 2014-05-15T19:00:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T19:21:34.000Z (over 2 years ago)
- Last Synced: 2024-07-31T20:52:23.177Z (4 months ago)
- Topics: command-line, go
- Language: Go
- Homepage: http://pkg.go.dev/github.com/artyom/autoflags
- Size: 10.7 KB
- Stars: 39
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- zero-alloc-awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go - autoflags - Populate go command line app flags from config struct - ★ 21 (Miscellaneous)
- awesome-go-extra - autoflags - 05-15T19:00:29Z|2022-06-11T19:21:34Z| (Microsoft Office / Uncategorized)
- awesome-go-zh - autoflags
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