/cli

A simple, fast, and fun package for building command line apps in Go

Primary LanguageGoMIT LicenseMIT

Welcome to urfave/cli

Run Tests Go Reference Go Report Card codecov

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, and powershell
  • 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:

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