github.com/juju/gnuflag

GNU-compatible flag handling with a stdlib-like API for Go


License
BSD-3-Clause
Install
go get github.com/juju/gnuflag

Documentation

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.