Welcome to urfave/cli
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
man
and markdown format documentation generation- input flags for simple types, slices of simple types, time, duration, and others
- compound short flag support (
-a
-b
-c
➡️-abc
) - input lookup from:
- environment variables
- plain text files
- structured file formats supported via the
urfave/cli-altsrc
package
Documentation
More documentation is available in ./docs
or the hosted documentation site published from the latest release
at https://cli.urfave.org.
Q&A
Please check the Q&A discussions or ask a new question.
License
See LICENSE