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
Help out
- Issues
- Persistent flags alone can't disable the ordering properly
- Output usage hint for both unknown subcommand and unknown flag in the same way
- `LocalFlags().Visit()` doesn't visit set flags when called from child command's `Run()`
- Copy parsed flag values when constructing `LocalFlags()`
- subcommand handling is inconsistent
- Flag() docstring is incorrect, also need way to get merged flags before parse
- Use afero fs for manpage generation
- Add a COMMANDS section to generated man pages
- command.MarkFlagRequired Does not look at inherited flags
- Docs needed: how best to handle errors in Run
- Docs
- Go not yet supported