Skip to content

Version 1.5.0

Compare
Choose a tag to compare
@alexflint alexflint released this 12 May 14:07
· 39 commits to master since this release
dfca71d
  • Argument structs can define Description() and Epilogue(), which are added to the usage string

  • Subcommands can have multiple aliases like this:

var args struct {
    Remove *struct{} `arg:"subcommand:remove|rm|r" help:"remove something from somewhere"`
}
  • Improves formatting of usage string when the placeholder tag is set to empty string

  • Do not handle --version when the args struct lacks a Version() function

  • Add StructSubcommands to Config struct