A declarative, simple, fast, and fun package for building command line tools in Go
A declarative, simple, fast, and fun package for building command line tools in Go
urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:
bash, zsh, fish, and powershell-a -b -c can be shortened to -abc)man and Markdown (supported via the
urfave/cli-docs module)urfave/cli-altsrc module)See the hosted documentation website at https://cli.urfave.org. Contents of
this website are built from the ./docs directory.
Check the Q&A discussions. If you don't find answer to your question, create a new discussion.
If you found a bug or have a feature request, create a new issue.
Please keep in mind that this project is run by unpaid volunteers.
See LICENSE.
Mutually exclusive flags are not suggested by shell completion
Features for v4 release
Documentation on optimizing binary size
feat: fields for VisibleFlags name/alias and Usage
Improve readability of help text
A bare "-" argument silently discards all following arguments in parseFlags
Collect unknown flags
cmd.Hidden is not recursive
Help fails when a command argument is specified
Add StringMap flag for altsrc