Skip to content

v1.2.0

Compare
Choose a tag to compare
@leaanthony leaanthony released this 29 Oct 01:15
· 24 commits to master since this release
  • New method to rapidly add sub commands: NewSubCommandFunction. Bind a function to a subcommand name and the function input gets automatically converted to CLI flags in the same way AddFlags works. The method is automatically called with the CLI flags. Specify default flags using an optional Default() method on your flags struct: https://clir.leaanthony.com/guide/subcommands/#adding-subcommands-with-functions