| 1 | # Welcome to urfave/cli |
| 2 | |
| 3 | [![Go Reference][goreference_badge]][goreference_link] |
| 4 | [![Go Report Card][goreportcard_badge]][goreportcard_link] |
| 5 | [![codecov][codecov_badge]][codecov_link] |
| 6 | [![Tests status][test_badge]][test_link] |
| 7 | |
| 8 | urfave/cli is a **declarative**, simple, fast, and fun package for building |
| 9 | command line tools in Go featuring: |
| 10 | |
| 11 | - commands and subcommands with alias and prefix match support |
| 12 | - flexible and permissive help system |
| 13 | - dynamic shell completion for `bash`, `zsh`, `fish`, and `powershell` |
| 14 | - no dependencies except Go standard library |
| 15 | - input flags for simple types, slices of simple types, time, duration, and |
| 16 | others |
| 17 | - compound short flag support (`-a` `-b` `-c` can be shortened to `-abc`) |
| 18 | - documentation generation in `man` and Markdown (supported via the |
| 19 | [`urfave/cli-docs`][urfave/cli-docs] module) |
| 20 | - input lookup from: |
| 21 | - environment variables |
| 22 | - plain text files |
| 23 | - structured file formats (supported via the |
| 24 | [`urfave/cli-altsrc`][urfave/cli-altsrc] module) |
| 25 | |
| 26 | ## Documentation |
| 27 | |
| 28 | See the hosted documentation website at <https://cli.urfave.org>. Contents of |
| 29 | this website are built from the [`./docs`](./docs) directory. |
| 30 | |
| 31 | ## Support |
| 32 | |
| 33 | Check the [Q&A discussions]. If you don't find answer to your question, [create |
| 34 | a new discussion]. |
| 35 | |
| 36 | If you found a bug or have a feature request, [create a new issue]. |
| 37 | |
| 38 | Please keep in mind that this project is run by unpaid volunteers. |
| 39 | |
| 40 | ### License |
| 41 | |
| 42 | See [`LICENSE`](./LICENSE). |
| 43 | |
| 44 | [test_badge]: https://github.com/urfave/cli/actions/workflows/test.yml/badge.svg |
| 45 | [test_link]: https://github.com/urfave/cli/actions/workflows/test.yml |
| 46 | [goreference_badge]: https://pkg.go.dev/badge/github.com/urfave/cli/v3.svg |
| 47 | [goreference_link]: https://pkg.go.dev/github.com/urfave/cli/v3 |
| 48 | [goreportcard_badge]: https://goreportcard.com/badge/github.com/urfave/cli/v3 |
| 49 | [goreportcard_link]: https://goreportcard.com/report/github.com/urfave/cli/v3 |
| 50 | [codecov_badge]: https://codecov.io/gh/urfave/cli/branch/main/graph/badge.svg?token=t9YGWLh05g |
| 51 | [codecov_link]: https://codecov.io/gh/urfave/cli |
| 52 | [Q&A discussions]: https://github.com/urfave/cli/discussions/categories/q-a |
| 53 | [create a new discussion]: https://github.com/urfave/cli/discussions/new?category=q-a |
| 54 | [urfave/cli-docs]: https://github.com/urfave/cli-docs |
| 55 | [urfave/cli-altsrc]: https://github.com/urfave/cli-altsrc |
| 56 | [create a new issue]: https://github.com/urfave/cli/issues/new/choose |