urfave-cli
Installation
SKILL.md
urfave/cli (Go)
Declarative CLI framework for Go. Commands, subcommands, typed flags, env var binding, and help generation with zero dependencies outside the standard library.
Version
Use v3 (current stable: v3.8.0). Import path is github.com/urfave/cli/v3. v2 is mature and still maintained, but new code should target v3 — its API centers on cli.Command (a recursive tree) instead of the v2 split between cli.App and cli.Command, and the action signature is func(context.Context, *cli.Command) error rather than func(*cli.Context) error.
If you see existing code with cli.App, cli.Context, or github.com/urfave/cli/v2, that is v2. Don't mix versions in one module.
Install
go get github.com/urfave/cli/v3@latest
import "github.com/urfave/cli/v3"