#1 urfave/cli
Simple, fast, and fun package for building command line apps in Go.
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
Health score 95/100, confidence 100/100.
| Latest version | v1.10.2 |
| Imported by | 195.9K packages |
| Stars | 44.0K |
| Forks | 3.2K |
| Last activity | 1 months ago |
| Latest release | v1.10.2 (5 months ago) |
| License | Apache-2.0 |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Command | Type | type Command struct{ ... } |
| Command.AddCommand | Method | func (c *Command) AddCommand(cmds ...*Command) |
| Command.AddGroup | Method | func (c *Command) AddGroup(groups ...*Group) |
| Command.Aliases | Field | Aliases []string |
| Command.AllChildCommandsHaveGroup | Method | func (c *Command) AllChildCommandsHaveGroup() bool |
| Command.Annotations | Field | Annotations map[string]string |
| Command.ArgAliases | Field | ArgAliases []string |
| Command.Args | Field | Args PositionalArgs |
| Command.ArgsLenAtDash | Method | func (c *Command) ArgsLenAtDash() int |
| Command.BashCompletionFunction | Field | BashCompletionFunction string |
| Command.CalledAs | Method | func (c *Command) CalledAs() string |
| Command.CommandPath | Method | func (c *Command) CommandPath() string |
Simple, fast, and fun package for building command line apps 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 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.