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 supported23 Subscribers
Add a CodeTriage badge to cobra
Help out
- Issues
- The use of text/template disables dead code elimination in all users of cobra
- Let the commands store flagComp functions internally (and avoid global state)
- best way to avoid globals passing my awsclient between commands
- Inconsistent behavior between `SetHelpFunc` and `Help`
- Passing in a common struct from rootCmd and its subcommands
- fix: stderr/stdout handling when custom err/out is defined (SetErrFallback)
- Fix LocalFlags().NFlags to count the number of local flags that have been set explicitly
- Flags passed to `ValidArgsFunction` are improperly parsed
- Add remove group method for command
- Link on doc does not work
- Docs
- Go not yet supported