v1.2.0
- 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 wayAddFlags
works. The method is automatically called with the CLI flags. Specify default flags using an optionalDefault()
method on your flags struct: https://clir.leaanthony.com/guide/subcommands/#adding-subcommands-with-functions