github alexflint/go-arg v1.5.0
Version 1.5.0

latest releases: v1.6.1, v1.6.0, v1.5.1...
2 years ago
  • 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

Don't miss a new go-arg release

NewReleases is sending notifications on new releases.