cobra-cli-init1
Initialize a cobra application
Usage
cobra-cli init
[PATH]
[OPTIONS]
Overview
Initialize (cobra-cli init) will create a new application, with a license and the appropriate structure for a Cobra-based CLI application.
cobra-cli init must be run inside of a Go module (please run “go mod init <MODNAME>” first)
Aliases
init, initialize, initialise, create
Options
-
-h, --help -
help for init
Options inherited from parent command
|
author name for copyright attribution (default “YOUR NAME”) |
|---|---|
|
config file (default is $HOME/.cobra.yaml) |
|
name of license for the project |
|
Use Viper for configuration |
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).