docopt.go
flaggy
Our great sponsors
docopt.go | flaggy | |
---|---|---|
3 | 1 | |
1,424 | 846 | |
0.6% | - | |
0.0 | 0.0 | |
4 months ago | about 1 year ago | |
Go | Go | |
MIT License | The Unlicense |
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?
flaggy
-
Return error if an command line argument does not exist in the program
Maybe the flaggy package can do this easily, but if there is a way with the standard flag package it would be best.
What are some alternatives?
cobra - A Commander for modern Go CLI interactions
argparse - Argparse for golang. Just because `flag` sucks
urfave/cli - A simple, fast, and fun package for building command line apps in Go
cli - CLI - A package for building command line app with go
go-flags - go command line option parser
climax - Climax is an alternative CLI with the human face
Dnote - A simple command line notebook for programmers
go-arg - Struct-based argument parsing in Go
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
cmdr - POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations