COBRA-INIT(1) | Cobra Manual | COBRA-INIT(1) |
cobra-init - Initialize a Cobra Application
cobra init [OPTIONS]
Initialize (cobra init) will create a new application, with a license and the appropriate structure for a Cobra-based CLI application.
Init will not use an existing directory with contents.
-a, --author="YOUR NAME"
Author name for copyright attribution
--config=""
config file (default is $HOME/.cobra.yaml)
-l, --license=""
Name of license for the project (can provide licensetext in
config)
-b, --projectbase=""
base project directory, e.g. github.com/spf13/
--viper[=true]
Use Viper for configuration
Dec 2015 | github.com/spf13/cobra |