#1 urfave/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package kingpin provides command line interfaces like this:
Health score 54/100, confidence 80/100.
| Latest version | v2.2.6+incompatible |
| Imported by | 1.5K packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 8 years ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Action | Type | type Action func(*ParseContext) error |
| Application | Type | type Application struct{ ... } |
| Application.Action | Method | func (a *Application) Action(action Action) *Application |
| Application.Author | Method | func (a *Application) Author(author string) *Application |
| Application.CmdCompletion | Method | func (c *Application) CmdCompletion(context *ParseContext) []string |
| Application.Command | Method | func (a *Application) Command(name, help string) *CmdClause |
| Application.DefaultEnvars | Method | func (a *Application) DefaultEnvars() *Application |
| Application.ErrorWriter | Method | func (a *Application) ErrorWriter(w io.Writer) *Application |
| Application.Errorf | Method | func (a *Application) Errorf(format string, args ...interface{}) |
| Application.FatalIfError | Method | func (a *Application) FatalIfError(err error, format string, args ...interface{}) |
| Application.FatalUsage | Method | func (a *Application) FatalUsage(format string, args ...interface{}) |
| Application.FatalUsageContext | Method | func (a *Application) FatalUsageContext(context *ParseContext, format string, args ...interface{}) |
Package cli provides a minimal framework for creating and organizing command line Go applications.
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.
Package cli provides a minimal framework for creating and organizing command line Go applications.
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.