Go command-line tool
A command-line tool in Go with Cobra: subcommands, --help, --json output, safe file and process handling and tests that drive the command tree without a real terminal. Ships as one binary.
What you build
- A command-line tool with Cobra subcommands
- --json output
- Tests that drive the command tree; ships as one binary
What you need
| Stack | Go · Cobra · go test |
|---|---|
| Level | Intermediate |
| Platform | Desktop |
| Plan | Pro |
| Needs on your computer | Go |
| Setup questions | About 3 minutes |
Start a project from one of these templates
Free plan on macOS. Pro is $10 a month or $96 a year.