macOS
brew install cobra-clilocal Homebrew formula metadata
brew
Tool to generate cobra applications and commands. Version 1.3.0 via Homebrew; verified from local package data.
install
brew install cobra-clilocal Homebrew formula metadata
sudo apt install cobra-cliDebian stable package indexes · cobra-cli · source: deb.debian.org
nix profile install nixpkgs#cobra-clinixpkgs package indexes · pkgs/by-name/co/cobra-cli/package.nix · source: api.github.com
overview
Tool to generate cobra applications and commands
history
cobra-cli is the generator companion for Cobra, the Go library used to build command-line applications. It matters less as a standalone framework and more as a small scaffolding tool in the Go CLI ecosystem.
The standalone `spf13/cobra-cli` repository was created in 2022 and released v1.3.0 in March 2022. Its README describes it as Cobra's generator for creating an application skeleton and adding commands.
The tool reflects a split between the Cobra runtime library and a generator binary. The README points users to `go install github.com/spf13/cobra-cli@latest`, then exposes only two core operations: `cobra-cli init` and `cobra-cli add`.
cobra-cli inherits its importance from Cobra's wide use in Go command-line projects. The input shows packaging in Homebrew, Debian, Ubuntu, and Nix, while Go module distribution is the upstream installation path.
`cobra-cli init` creates a barebones Cobra application inside a Go module. `cobra-cli add` adds subcommands under the generated `cmd` structure.
The optional `~/.cobra.yaml` file stores repeated generator defaults such as author, license, year, and whether to wire in Viper support.
cobra-cli is a neat example of Go's module-aware binary install story: the package manager formula is convenient, but upstream expects `go install` to fetch and build the command.
It also shows the packaging split common in developer tools: a library (`spf13/cobra`) carries most of the ecosystem weight, while a smaller generator binary gets packaged separately for repeatable local scaffolding.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.cobra.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cobra-cli | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/spf13/cobra-cli
install metadata
| Package key | brew:cobra-cli |
|---|---|
| Version | 1.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cobra-cli |
| Homepage | https://cobra.dev |
| Repository | https://github.com/spf13/cobra-cli |
| Upstream docs | https://cobra.dev/docs |
| License | Apache-2.0 |
| Source archive | https://github.com/spf13/cobra-cli/archive/refs/tags/v1.3.0.tar.gz |
| Dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cobra-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cobra-cli 1.3.0-3+b17
Cobra CLI tool to generate Go applications and commands
https://github.com/spf13/cobra-cli
sudo apt install cobra-clicobra-cli
nix profile install nixpkgs#cobra-clicobra-cli 1.3.0-3build1
Cobra CLI tool to generate Go applications and commands
https://github.com/spf13/cobra-cli
sudo apt install cobra-clisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.