#1 Cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Package cli provides a minimal framework for creating and organizing command line Go applications.
Health score 94/100, confidence 65/100.
| Latest version | Unknown |
| Imported by | 23.1K packages |
| Stars | 24.1K |
| Forks | 1.8K |
| Last activity | Today |
| Latest release | v3.9.1 (Today) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| 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 |
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Struct-based argument parsing in Go.
Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.
Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.
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.