spf13/cobra

★44,952GoApache-2.0⑂ 3,710Issue 263Updated Jul 11, 2026

A Commander for modern Go CLI interactions

The CLI library behind Kubernetes, Hugo, and GitHub CLI — Cobra builds structured CLI apps with subcommands, POSIX-compliant flags, autocomplete, and man page generation. It powers major Go tools like Kubernetes, Hugo, and GitHub CLI, and integrates optionally with Viper for 12-factor config. Useful for developers building git-style command-line tools in Go.

Developer toolsclicli-appcobracobra-generatorcobra-librarycommandcommand-cobracommand-linecommandlinegogolanggolang-applicationgolang-libraryposixposix-compliant-flagssubcommands

Metrics

Relative growth (7d)+0%Growth over the last 7 days relative to size
Acceleration+96%Change in growth pace from the week before
Retention+70%How well growth holds up 30 days after first trending
Attention41The three metrics scaled to 0–100 and combined

See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

+64★/dayDaily
Nov 6, 2026Dec 5, 2026

Bands mark days on the trending list (darker = higher rank)

Daily trending ranks as a table (5 days)
DateDaily
Nov 8, 2026
go #6 +64
Nov 7, 2026
go #20 +102
Oct 18, 2026
go #10 +1
Oct 8, 2026
go #11 +7
Sep 28, 2026
go #15 +8

Created Sep 4, 2013 · First on trending Sep 28, 2026

Other notable repositories in the same category (Developer tools)

See all Developer tools repositories →

Rank within cli

#Repository★
1morluto/rea489,711
2n8n-io/n8n213,123
3yt-dlp/yt-dlp212,952
4stablyai/orca156,739
5sherlock-project/sherlock121,123
6Panniantong/Agent-Reach117,231
7google-gemini/gemini-cli109,614
8OpenHands/OpenHands94,903
9rtk-ai/rtk88,829
10junegunn/fzf84,836
22spf13/cobra44,952

See all cli repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.