http://godoc.org/bitbucket.org/creachadair/vocab
This repository defines a Go package that implements an API for describing and processing command-line arguments and flags in shell-like tools.