---
name: "cobra-cli"
section: "1"
platform: "linux"
package: "cobra-cli"
version: "1.3.0-3+b17"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cobra-cli"
---

# cobra-cli(1)

A generator for Cobra-based Go Applications

## NAME

cobra-cli - A generator for Cobra-based Go Applications

## SYNOPSIS

**cobra-cli** \[*command*\]

## DESCRIPTION

Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.

## AVAILABLE COMMANDS

- **add**

  Add a command to a Cobra Application

- **completion**

  Generate the autocompletion script for the specified shell

- **help**

  Help about any command

- **init**

  Initialize a Cobra Application

## OPTIONS

- **-a**, **--author** *string*

  author name for copyright attribution (default “YOUR NAME”)

- **--config** *string*

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

- **-h**, **--help**

  help for cobra-cli

- **-l**, **--license** *string*

  name of license for the project

- **--viper**

  Use Viper for configuration

## SEE ALSO

**[cobra-cli-add(1)](/cobra-cli-add/1.md)**, **[cobra-cli-init(1)](/cobra-cli-init/1.md)**
