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 supported25 Subscribers
Add a CodeTriage badge to cobra
Help out
- Issues
- 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
- Execute same command concurrently
- cobra.Command.Example does not support templates
- If NoOptDefVal is set, arguments of the form "--myflag myvalue" does not work
- RFE: PostParseFlags Hook
- Docs
- Go not yet supported