docopt.go
cli
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docopt.go
-
Getopt like argument parser for Golang.
There isn't enough compelling reasons to use your library as mentioned by n4jm4 there is already docopt. https://github.com/docopt/docopt.go or the standard flag library.
-
The flag package: strange but good?
or the DSL docopt which will parse the opts from the usage help text.
- Does anyone know a cli module that allows git-like bash sub commands?
cli
We haven't tracked posts mentioning cli yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
cobra - A Commander for modern Go CLI interactions
argparse - Argparse for golang. Just because `flag` sucks
kingpin - CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
climax - Climax is an alternative CLI with the human face
go-flags - go command line option parser
go-arg - Struct-based argument parsing in Go
mow.cli - A versatile library for building CLI applications in Go
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
mitchellh/cli - A Go library for implementing command-line interfaces.
complete - bash completion written in go + bash completion for go command
kong - Kong is a command-line parser for Go