ffmd/examples/flagset
jolheiser 4a13872104
Generate docs as READMEs for examples
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-30 16:52:53 -05:00
..
README.md Generate docs as READMEs for examples 2021-10-30 16:52:53 -05:00
main.go Generate docs as READMEs for examples 2021-10-30 16:52:53 -05:00

README.md

myapp

[--bool-flag-f]
[--bool-flag-t]
[--duration-flag]=[value]
[--duration-flag-default]=[value]
[--help]
[--int-flag]=[value]
[--int-flag-default]=[value]
[--string-flag]=[value]
[--string-flag-default]=[value]

Usage:

myapp [FLAGS] [ARGS...]

--bool-flag-f: Bool flag false

--bool-flag-t: Bool flag true (default: true)

--duration-flag="": Duration flag with no default

--duration-flag-default="": Duration flag with default (default: 5m0s)

--help: Show help

--int-flag="": Int flag with no default

--int-flag-default="": Int flag with default (default: 100)

--string-flag="": String flag with no default

--string-flag-default="": String flag with default (default: string default)