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
- docs: clarify default Args behavior when Args is nil
- Fix: inherit parent local flags passed before subcommand (#2311)
- Shell completion parses flags twice, duplicating array/slice values and doubling count flags
- TraverseChildren can execute a subcommand after -- and discard positional arguments
- fix: do not apply stateful flags twice during shell completion
- fix: stop Traverse command discovery at bare --
- fix: stop command traversal at --
- command: stop Traverse at `--` so a positional isn't run as a subcommand
- Fix zsh completion prefixes for flag values containing equals signs
- "passthrough" arguments and flags?
- Docs
- Go not yet supported