github.com/urfave/cli/v2

urfave/cli

Simple, fast, and fun package for building command line apps in Go.

94

Decision Signals

Health score 94/100, confidence 65/100.

Excellent
Maintenance 95
Adoption 100
Security 92
Maturity 83
Developer DX 97
Confidence 65

Install

go get github.com/urfave/cli/v2

Package Data

updated May 31, 2026
Latest versionUnknown
Imported by23.1K packages
Stars24.1K
Forks1.8K
Last activity2 days ago
Latest releasev3.9.0 (18 days ago)
LicenseMIT
Known vuln records0

API Surface

832 symbols
SymbolKindSynopsis
ActionFunc Type type ActionFunc func(*Context) error
ActionableFlag Type type ActionableFlag interface{ ... }
ActionableFlag.RunAction Method RunAction func(*Context) error
AfterFunc Type type AfterFunc func(*Context) error
App Type type App struct{ ... }
App.Action Field Action ActionFunc
App.After Field After AfterFunc
App.AllowExtFlags Field AllowExtFlags bool
App.Args Field Args bool
App.ArgsUsage Field ArgsUsage string
App.Authors Field Authors []*Author
App.BashComplete Field BashComplete BashCompleteFunc

Similar Packages

Go CLI Frameworks

#1 Cobra

Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.

Go CLI Frameworks 44.0K stars 195.9K imported-by 100% confidence
95

#2 dasel

Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.

Go CLI Frameworks 8.0K stars 0 imported-by 45% confidence
85

#3 kong

Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.

Go CLI Frameworks 0 stars 3.1K imported-by 80% confidence
77

#4 go-arg

Package arg parses command line arguments using the fields from a struct.

Go CLI Frameworks 0 stars 1.7K imported-by 80% confidence
70

#5 flash-flags

Package flashflags provides ultra-fast, zero-dependency, lock-free command-line flag parsing for Go.

Go CLI Frameworks 0 stars 3 imported-by 80% confidence
67