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 supported24 Subscribers
Add a CodeTriage badge to cobra![CodeTriage badge for spf13/cobra](/spf13/cobra/badges/users.svg?count=24)
Help out
- Issues
- feat: add flag help groups
- CheckErr with custom status code
- Flag special "mark" support
- feat: Multiple Required/Persistent Flags
- Data race when using multiple unrelated `cobra.Command` instances
- Accessing cobra command structure internally (porting applications which use cobra to android)
- os.Args added as flags to command
- 'MarkFlagsRequiredTogether' does not work as intended. Am I wrong?
- Update ArgLenAt Dash to search for first option with single dash instead of only double dash
- feat: Add the `WithUsage` function.
- Docs
- Go not yet supported