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 supported20 Subscribers
Add a CodeTriage badge to cobra
Help out
- Issues
- Help output depends on the order AddCommand is called (CommandPathPadding is snapshotted, never recomputed)
- fix: recompute CommandPathPadding so it stays accurate regardless of AddCommand order
- Bash completion does not clear required flags when supplied as `--flag value`
- fix(args): use invalid arg instead of args[0] for OnlyValidArgs suggestions
- fix: preserve command-line prefixes when redrawing after bash ActiveHelp
- PowerShell Completion missing Native parameter
- PowerShell Completion should not impact global namespace
- Fix: PowerShell completions namespace pollution and missing -Native parameter
- feat: Command.Example does not support templates
- feat: cobra should support initializers that return errors
- Docs
- Go not yet supported