docopt.go
complete
Our great sponsors
docopt.go | complete | |
---|---|---|
3 | 1 | |
1,424 | 912 | |
0.6% | - | |
0.0 | 0.0 | |
4 months ago | 9 months ago | |
Go | Go | |
MIT License | MIT License |
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?
complete
-
New major release of bit – a modern git CLI (1.0.1) with vastly improved completions & suggestions + simplified UX
Thanks for your input! If you have time / would like to contribute I suggest submitting a PR to https://github.com/posener/complete. If not I can perhaps submit one in a week or so
What are some alternatives?
cobra - A Commander for modern Go CLI interactions
readline - Readline is a pure go(golang) implementation for GNU-Readline kind library
argparse - Argparse for golang. Just because `flag` sucks
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
cli - CLI - A package for building command line app with go
climax - Climax is an alternative CLI with the human face
frep - Generate file using template from environment, arguments, json/yaml/toml config files
go-arg - Struct-based argument parsing in Go
1build - Frictionless way of managing project-specific commands
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
kingpin - CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser