cobra-cli

Generate Cobra CLI applications and commands in Go

brewmacoslinux
Try with needOr install directly
Source

About

Tool to generate cobra applications and commands

Commands

cobra-cli

Examples

Create a new Cobra CLI application$ cobra-cli init myapp
Add a new command to an existing Cobra project$ cobra-cli add serve
Add a subcommand to an existing command$ cobra-cli add config -p 'rootCmd'