cobra
https://github.com/spf13/cobra
Go
A Commander for modern Go CLI interactions
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported21 Subscribers
Add a CodeTriage badge to cobra
Help out
- Issues
- feat: add SuggestAvailableCommands opt-in to unknown-command errors
- test: fix completions test failure on Go 1.26
- Test failed with golang 1.26
- docs: update viper examples to use instance-based pattern
- docs: improve ExecuteC() documentation to clarify its purpose and return values
- command.go: fix flag ordering when only persistent flags disable SortFlags
- Add Go fuzz tests for OSS-Fuzz integration
- fix(cobra): propagate context to subcommands in ExecuteC
- Optionally list available commands in the unknown-command error
- feat: document positional arguments in help output
- Docs
- Go not yet supported