avamsi / climate

"CLI Mate" autogenerates CLIs from structs / functions (nested subcommands, global / local flags, help generation, typo suggestions, shell completion etc.)
https://pkg.go.dev/github.com/avamsi/climate#section-documentation
The Unlicense
147 stars 3 forks source link

Probably update README and example with the dummy tools.go trick #7

Closed avamsi closed 1 year ago

avamsi commented 1 year ago

This allows running cmd/clifr without installing it to $GOBIN (and maybe when this is a thing, cmd/clifr can be renamed to gendocs or cmd/gendocs per convention).

avamsi commented 1 year ago

https://github.com/avamsi/climate/blob/main/cmd/examples/tools.go