urfave/cli
Some data may be outdated — see provenance labels.
A declarative, simple, fast, and fun package for building command line tools in Go observed · 2026-10-02
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 11.5
- age_days: 4847
- days_rel: 19
- days_push: 19
- n_releases_24m: 31
Adoption not part of the score
24274 stars · 1830 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.99
urfave/cli is a Go library for building command line applications. It provides a declarative API, subcommand handling, flag parsing, and automatic shell completions.
Use cases
- Create a simple CLI tool with subcommands in Go
- Parse command line flags and environment variables for a Go application
- Generate man pages and markdown documentation for a Go CLI
- Add dynamic shell completion for bash, zsh, fish, and PowerShell
- Build a cross‑platform command line utility without external dependencies
When to choose
- You need a lightweight, dependency‑free library for Go CLI development.
- Your project requires built‑in support for subcommands, flag parsing, and shell completion.
- You prefer a declarative API that makes defining commands concise and readable.
When to avoid
- You need a full‑featured framework with GUI components or web interfaces.
- Your application is written in a language other than Go.
- You require advanced configuration management beyond what urfave/cli‑altsrc provides.
Facets
library · maturity active
cli developer-tools go cross-platform cli go command-line yaml json toml fast declarative
7 sources
- readme: https://github.com/urfave/cli · fetched 2026-10-02 · 438125c9c744
- homepage: https://cli.urfave.org · fetched 2026-09-28 · 2bb6d279430a
- site_page: https://cli.urfave.org/v3/getting-started · fetched 2026-09-28 · 4036df7795b6
- site_page: https://cli.urfave.org/v2/getting-started · fetched 2026-09-28 · 62616f796c6f
- site_page: https://cli.urfave.org/v1/getting-started · fetched 2026-09-28 · 11e531be6602
- site_page: https://cli.urfave.org/v3/migrating-from-older-releases · fetched 2026-09-28 · 5455cc1a2e4f
- site_page: https://cli.urfave.org/v2/migrating-from-older-releases · fetched 2026-09-28 · 7b0054080f32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| urfave/cli | main | 98 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem