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
- Add Asciidoc documentation generation support
- Marked Required with Default Value on a Flag
- Enhance arg parsing for commands which expect arbitrary input after the '--' dash dash terminator
- PersistentPostRun{,E} are not executed when RunE or PostRunE returns an error
- Flags are returning empty.
- Expose version flag also as version command
- [question] How to pass two values for an option?
- Refactor `HelpFunc()` to have a `DefaultHelpFunc()`
- Configurable: Check if any Flags would get shadowed and then return with error
- Question: How to set argument before subcommand
- Docs
- Go not yet supported