#1 Cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Simple, fast, and fun package for building command line apps in Go.
Health score 94/100, confidence 65/100.
| Latest version | Unknown |
| Imported by | 23.1K packages |
| Stars | 24.1K |
| Forks | 1.8K |
| Last activity | 2 days ago |
| Latest release | v3.9.0 (18 days ago) |
| 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.
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 arg parses command line arguments using the fields from a struct.
Package flashflags provides ultra-fast, zero-dependency, lock-free command-line flag parsing for Go.