urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:
- commands and subcommands with alias and prefix match support
- flexible and permissive help system
- dynamic shell completion for
bash,zsh,fish, andpowershell manand markdown format documentation generation- input flags for simple types, slices of simple types, time, duration, and others
- compound short flag support (
-a-b-ccan be shortened to-abc) - input lookup from:
- environment variables
- plain text files
- structured file formats supported via the
urfave/cli-altsrcpackage
See the hosted documentation website at https://cli.urfave.org. Contents of
this website are built from the ./docs directory.
Please check the Q&A discussions or ask a new question.
See LICENSE.