github.com/urfave/cli/v2

urfave/cli

Package cli provides a minimal framework for creating and organizing command line Go applications.

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 Jun 11, 2026
Latest versionUnknown
Imported by23.1K packages
Stars24.1K
Forks1.8K
Last activityToday
Latest releasev3.9.1 (Today)
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.1K stars 0 imported-by 65% confidence
87

#2 go-arg

Struct-based argument parsing in Go.

Go CLI Frameworks 2.3K stars 1.7K imported-by 65% confidence
87

#3 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

#4 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

#5 mow.cli

Package cli provides a framework to build command line applications in Go with most of the burden of arguments parsing and validation placed on the framework instead of the user.

Go CLI Frameworks 884 stars 895 imported-by 100% confidence
74