github.com/micro/cli/v2

v2

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

61

Decision Signals

Health score 61/100, confidence 40/100.

Review
Maintenance 48
Adoption 51
Security 92
Maturity 45
Developer DX 83
Confidence 40

Install

go get github.com/micro/cli/v2

Package Data

updated Jun 11, 2026
Latest versionUnknown
Imported by965 packages
Stars0
Forks0
Last activityUnknown
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

521 symbols
SymbolKindSynopsis
ActionFunc Type type ActionFunc 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.ArgsUsage Field ArgsUsage string
App.Authors Field Authors []*Author
App.BashComplete Field BashComplete BashCompleteFunc
App.Before Field Before BeforeFunc
App.Command Method func (a *App) Command(name string) *Command
App.CommandNotFound Field CommandNotFound CommandNotFoundFunc
App.Commands Field Commands []*Command

Maintained Alternatives

lower maintenance score

#1 urfave/cli

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

Go CLI Frameworks 24.1K stars 23.1K imported-by 65% confidence
94

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

#3 go-arg

Struct-based argument parsing in Go.

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

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

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

#6 gortsplib

Pure Go RTSP server and client library.

Go CLI Frameworks 0 stars 21 imported-by 80% confidence
64

Similar Packages

Go CLI Frameworks

#1 urfave/cli

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

Go CLI Frameworks 24.1K stars 23.1K imported-by 65% confidence
94

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

#3 go-arg

Struct-based argument parsing in Go.

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

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

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