flaggy
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. (by integrii)
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations (by hedzr)
Our great sponsors
flaggy | cmdr | |
---|---|---|
1 | - | |
846 | 131 | |
- | - | |
0.0 | 8.5 | |
about 1 year ago | 9 days ago | |
Go | Go | |
The Unlicense | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
flaggy
Posts with mentions or reviews of flaggy.
We have used some of these posts to build our list of alternatives
and similar projects.
-
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.
cmdr
Posts with mentions or reviews of cmdr.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning cmdr yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing flaggy and cmdr you can also consider the following projects:
cobra - A Commander for modern Go CLI interactions
mitchellh/cli - A Go library for implementing command-line interfaces.
urfave/cli - A simple, fast, and fun package for building command line apps in Go
go-flags - go command line option parser
Dnote - A simple command line notebook for programmers
OPS - ops - build and run nanos unikernels
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
acmd - Simple, useful and opinionated CLI package in Go.