https://github.com/artyom/autoflags
Populate go command line app flags from config struct
https://github.com/artyom/autoflags
command-line go
Last synced: 6 months 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 11 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T19:21:34.000Z (over 3 years ago)
- Last Synced: 2025-04-11T09:13:44.037Z (8 months ago)
- Topics: command-line, go
- Language: Go
- Homepage: http://pkg.go.dev/github.com/artyom/autoflags
- Size: 10.7 KB
- Stars: 43
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-go - :octocat: autoflags - Go package to automatically define command line flags from struct fields. :star: 12 :fork_and_knife: 0 (Miscellaneous / Advanced Console UIs)
- 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-zh - autoflags
- awesome-go - autoflags - | - | - | (Miscellaneous / Strings)
- awesome-go-cn - autoflags
- awesome-go-plus - autoflags - Go package to automatically define command line flags from struct fields.  (Miscellaneous / Uncategorized)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (<span id="其他-miscellaneous">其他 Miscellaneous</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go-with-stars - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- fucking-awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. - :arrow_down:32 - :star:11 (Miscellaneous / Strings)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Strings)
- awesome-go-cn - autoflags
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go-extra - autoflags - 05-15T19:00:29Z|2022-06-11T19:21:34Z| (Microsoft Office / Uncategorized)
- awesome-go-cn - autoflags
- zero-alloc-awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Advanced Console UIs)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-Char - autoflags - Go package to automatically define command line flags from struct fields. (Miscellaneous / Uncategorized)
- awesome-go-cn - 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