github.com/spf13/cobra

Cobra

Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.

87

Decision Signals

Health score 87/100, confidence 65/100.

Excellent
Maintenance 88
Adoption 100
Security 70
Maturity 90
Developer DX 81
Confidence 65

Install

go get github.com/spf13/cobra

Package Data

updated Jun 11, 2026
Latest versionv1.10.2
Imported by0 packages
Stars44.1K
Forks3.1K
Last activity1 months ago
Latest releasev1.10.2 (6 months ago)
LicenseApache-2.0
Known vuln records0

API Surface

0 symbols
SymbolKindSynopsis
No symbol preview available from pkg.go.dev for this refresh.

Similar Packages

Go CLI Frameworks

#1 urfave/cli

Package cli provides a minimal framework for creating and organizing command line Go applications.

Go CLI Frameworks 24.1K stars 23.1K imported-by 65% confidence
94

#2 go-arg

Struct-based argument parsing in Go.

Go CLI Frameworks 2.3K stars 1.7K imported-by 65% confidence
87

#3 dasel

Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.

Go CLI Frameworks 8.0K stars 0 imported-by 45% confidence
85

#4 kong

Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.

Go CLI Frameworks 0 stars 3.1K imported-by 80% confidence
77

#5 mow.cli

Package cli provides a framework to build command line applications in Go with most of the burden of arguments parsing and validation placed on the framework instead of the user.

Go CLI Frameworks 884 stars 895 imported-by 100% confidence
74