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

Support hidden and required flags (possibly through struct tags) #8

Open avamsi opened 1 year ago

avamsi commented 1 year ago

..

avamsi commented 1 year ago

Some ideas in https://www.reddit.com/r/golang/comments/14t4vgb/climate_cli_mate_a_cli_library_that_autogenerates. Also, we could add an env struct tag for populating flags from environment variables.