GNU-compatible flag handling with a stdlib-like API for Go
Go
Switch branches/tags
Nothing to show
Latest commit 2ce1bb7 Nov 13, 2017 @jameinel jameinel Merge pull request #2 from anastasiamac/flag-names
Flag name as reference can be customized.
Permalink
Failed to load latest commit information.
LICENSE
README.md
export_test.go
flag.go
flag_test.go

README.md

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.