Args is an argument-parsing library designed for building elegant command-line interfaces.
Long-form boolean flags with single-character shortcuts:
Long-form string, integer, and floating-point options with single-character shortcuts:
Condensed short-form options:
-abc <arg> <arg>.
Support for multivalued options.
Support for git-style command interfaces with arbitrarily-nested commands.
Install directly from Github:
$ go get github.com/dmulholland/args
Alternatively, you can incorporate the single, public-domain
args.go file directly into your application. The library has no external dependencies.
This work has been placed in the public domain.