$Id: 173
$SOId: 14046
Functionaly provided by standard library package [flag](<https://golang.org/pkg/flag/>)
is limited.
There is a number of libraries that provide more functionality for command line parsing:
- argparse - Command line argument parser inspired by Python’s argparse module.
- cli - Feature-rich and easy to use command-line package based on golang struct tags.
- cli - Simple and complete API for building command line interfaces in Go.
- cli-init - The easy way to start building Golang command line applications.
- climax - Alternative CLI with “human face”, in spirit of Go command.
- cobra - Commander for modern Go CLI interactions.
- commandeer - Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.
- docopt.go - Command-line arguments parser that will make you smile.
- flag - Simple but powerful command line option parsing library for Go supporting subcommand.
- go-arg - Struct-based argument parsing in Go.
- go-flags - go command line option parser.
- gocmd - Go library for building command line applications.
- kingpin - Command line and flag parser supporting sub commands.
- mitchellh/cli - Go library for implementing command-line interfaces.
- mow.cli - Go library for building CLI applications with sophisticated flag and argument parsing and validation.