Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/urfave/cli
A simple, fast, and fun package for building command line apps in Go
https://github.com/urfave/cli
cli command-line go golang-library json toml yaml
Last synced: 6 days ago
JSON representation
A simple, fast, and fun package for building command line apps in Go
- Host: GitHub
- URL: https://github.com/urfave/cli
- Owner: urfave
- License: mit
- Created: 2013-07-13T19:32:06.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T03:03:13.000Z (21 days ago)
- Last Synced: 2025-01-04T07:59:47.521Z (9 days ago)
- Topics: cli, command-line, go, golang-library, json, toml, yaml
- Language: Go
- Homepage: https://cli.urfave.org
- Size: 11.2 MB
- Stars: 22,568
- Watchers: 299
- Forks: 1,712
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: docs/SECURITY.md
Awesome Lists containing this project
- awesome-go - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). (Command Line / Standard CLI)
- fucking-awesome-go - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). (Command Line / Standard CLI)
- awesome-cli-frameworks - cli
- awesome-ccamel - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
- awesome-trevor - CLI - simple, fast, and fun package for building command line apps in Go (Programming / Golang)
- my-awesome-github-stars - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
- awesome-repositories - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
- awesome-starred - cli - A simple, fast, and fun package for building command line apps in Go (Go)
- awesome-go - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). (Command Line / Standard CLI)
- awesome-github-star - cli
- awesome-go - cli - simple, fast, and fun package for building command line apps (CLI frameworks)
- awesome-starts - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
- go-awesome - urfave/cli - tool for building command line programs (Open source library / Command Line)
- awesome-list - cli
- awesome-golang-repositories - cli
- awesome-go - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). (Command Line / Standard CLI)
- awesome-go - cli - A simple, fast, and fun package for building command line apps in Go - ★ 9265 (Command Line)
- awesome-go-extra - cli - 07-13T19:32:06Z|2022-08-25T20:46:34Z| (Build Automation / Standard CLI)
- awesome-go-with-stars - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). (Command Line / Standard CLI)
- StarryDivineSky - urfave/cli
- my-awesome - urfave/cli - line,go,golang-library,json,toml,yaml pushed_at:2025-01 star:22.6k fork:1.7k A simple, fast, and fun package for building command line apps in Go (Go)
- awesome-go - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). Stars:`22.6K`. (Command Line / Standard CLI)
- awesome-go-cn - urfave/cli
- awesome-go-plus - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). ![stars](https://img.shields.io/badge/stars-22573-blue) (Command Line / Standard CLI)
- awesome-go - urfave/cli
- awesome-go - urfave/cli
- awesome-go-plus - urfave/cli - Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli). ![stars](https://img.shields.io/badge/stars-22399-blue) (Command Line / Standard CLI)
- awesome - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
- awesome - urfave/cli - A simple, fast, and fun package for building command line apps in Go (Go)
README
# Welcome to urfave/cli
[![Go Reference][goreference_badge]][goreference_link]
[![Go Report Card][goreportcard_badge]][goreportcard_link]
[![codecov][codecov_badge]][codecov_link]
[![Tests status][test_badge]][test_link]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`
- no dependencies except Go standard library
- input flags for simple types, slices of simple types, time, duration, and
others
- compound short flag support (`-a` `-b` `-c` can be shortened to `-abc`)
- documentation generation in `man` and Markdown (supported via the
[`urfave/cli-docs`][urfave/cli-docs] module)
- input lookup from:
- environment variables
- plain text files
- structured file formats (supported via the
[`urfave/cli-altsrc`][urfave/cli-altsrc] module)## Documentation
See the hosted documentation website at . Contents of
this website are built from the [`./docs`](./docs) directory.## Support
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.
### License
See [`LICENSE`](./LICENSE).
[test_badge]: https://github.com/urfave/cli/actions/workflows/test.yml/badge.svg
[test_link]: https://github.com/urfave/cli/actions/workflows/test.yml
[goreference_badge]: https://pkg.go.dev/badge/github.com/urfave/cli/v3.svg
[goreference_link]: https://pkg.go.dev/github.com/urfave/cli/v3
[goreportcard_badge]: https://goreportcard.com/badge/github.com/urfave/cli/v3
[goreportcard_link]: https://goreportcard.com/report/github.com/urfave/cli/v3
[codecov_badge]: https://codecov.io/gh/urfave/cli/branch/main/graph/badge.svg?token=t9YGWLh05g
[codecov_link]: https://codecov.io/gh/urfave/cli
[Q&A discussions]: https://github.com/urfave/cli/discussions/categories/q-a
[create a new discussion]: https://github.com/urfave/cli/discussions/new?category=q-a
[urfave/cli-docs]: https://github.com/urfave/cli-docs
[urfave/cli-altsrc]: https://github.com/urfave/cli-altsrc
[create a new issue]: https://github.com/urfave/cli/issues/new/choose