logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cobra-cli-init - Initialize a Cobra Application

Aliases

init, initialize, initialise, create

Description

       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)

Name

       cobra-cli-init - Initialize a Cobra Application

Options

-h, --help
              help for init

Options Inherited From Parent Command

-a, --authorstring
              author name for copyright attribution (default “YOUR NAME”)

       --configstring
              config file (default is $HOME/.cobra.yaml)

       -l, --licensestring
              name of license for the project

       --viper
              Use Viper for configuration

See Also

cobra-cli(1), cobra-cli-add(1)

github.com/spf13/cobra-cli                          Mar 2022                                   COBRA-CLI-INIT(1)

Synopsis

cobra-cliinit [PATH] [OPTIONS]

See Also