Skip to content

FlagSet creation and documentation for Go programs

License

Notifications You must be signed in to change notification settings

rqlite/flagforge

Repository files navigation

flagforge

Circle CI

flagforge allows you to automatically generate Go flag code, as well as the associated Markdown and HTML documentation for those flags, all using a single configuration file. This means you only have to define your command-line options once in a TOML file, and flagforge will do the rest.

Running flagforge

Clone the repo and execute go build. Pass -h to flagforge to learn how to use it.

flagforge -f go|markdown|html <TOML file>

Example usage

rqlite uses flagforge to generate the code and documentation for its extensive set of command-line flags:

About

FlagSet creation and documentation for Go programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages