spf13/cobra
A Commander for modern Go CLI interactions
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
No releases in the last 90 days; the most recent was 339 days ago, with 309 contributors on GitHub.
Peaked at #73 in the weekly ranking the week of Apr 12, its best in the past year.
Use Cases & Benefits
- Provides a Go library to create modern, powerful CLI applications with subcommands and POSIX-compliant flags.
- Enables rapid CLI development with automatic help, suggestions, shell autocompletion, and man page generation.
- Use for building complex CLI tools with nested commands and flexible flag management in Go projects.
- Use for integrating seamless command-line interfaces in Go applications requiring intelligent user guidance.
- Use for generating scaffolding and command files quickly using the cobra-cli tool to bootstrap new CLI apps.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Cobra is a library for creating powerful modern CLI applications.
Cobra is used in many Go projects such as Kubernetes, Hugo, and GitHub CLI to name a few. This list contains a more extensive list of projects using Cobra.
Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+387 stars over 87 days across 14 snapshot days; best day +11 on Aug 14.
Forks
4.5K+1.3K
Open issues
493+63
Compared with peers in CLI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| morluto/rea | 450.0K | +22.9K | 75 | 16 days ago |
| mattpocock/skills | 320.9K | +9.5K | 75 | 12 days ago |
| vercel-labs/agent-desktop | 21.4K | +8.7K | 75 | 5 days ago |
| stablyai/orca | 121.4K | +6.7K | 75 | today |
| vercel-labs/agent-browser | 49.2K | +3.8K | 75 | 1 day ago |
| spf13/cobra | 44.8K | — | 41 | 339 days ago |
| Category median | 121.4K | +8.7K | 75 | — |
Also by spf13
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description