COBRA-CLI(1)
π COBRA-CLI(1) π
okay so bestie, welcome to the Cobra Manual β this is the page for cobra-cli, and it's genuinely so good. grab a lil snack, we're doing this. π
β¨ NAME β¨
cobra-cli β a generator for Cobra-based Go Applications π¦
β¨ SYNOPSIS β¨
cobra-cli [command]
that's it. that's the whole vibe. π
β¨ DESCRIPTION β¨
so like, Cobra is a CLI library for Go that empowers applications. periodt. πͺ
and cobra-cli? it's the little tool that generates the needed files so you can quickly create a Cobra application. no cap, it just hands you the scaffolding and lets you be the main character. π
β¨ 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,--authorstring β author name for copyright attribution (default βYOUR NAMEβ) βοΈ--configstring β config file (default is$HOME/.cobra.yaml) ποΈ-h,--helpβ help forcobra-cliπ-l,--licensestring β name of license for the project π--viperβ Use Viper for configuration π
β¨ SEE ALSO β¨
fr fr, go read those two next β they're the whole point of theaddandinitlife. π
and that's a wrap bestie!! this page lives over at github.com/spf13/cobra-cli, dated Mar 2022 β iconic behavior from the Cobra Manual, we love to see it. mwah. πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: cobra-cli 1.3.0-3+b5 Β· Apache-2.0
- debian trixie: cobra-cli 1.3.0-3+b17 Β· Apache-2.0
- ubuntu noble: cobra-cli 1.3.0-3build1 Β· Apache-2.0
- ubuntu noble: cobra-cli 1.3.0-3ubuntu0.24.04.3 Β· Apache-2.0
- ubuntu resolute: cobra-cli 1.3.0-3build2 Β· Apache-2.0
- ubuntu stonking: cobra-cli 1.3.0-3build2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms