Gnuflag
The gnuflag package is a fork of the Go standard library package that supports GNU-compatible flag syntax.
In particular, it supports --longflag
and -l
single-character
flag syntax.
Full documentation can be found here: https://godoc.org/github.com/juju/gnuflag.