https://github.com/spf13/cobra
cli cli-app cobra cobra-generator cobra-library command command-cobra command-line commandline go golang golang-application golang-library posix posix-compliant-flags subcommands
Score: 41.19969515716596
Last synced: about 10 hours ago
JSON representation
Repository metadata:
A Commander for modern Go CLI interactions
- Host: GitHub
- URL: https://github.com/spf13/cobra
- Owner: spf13
- License: apache-2.0
- Created: 2013-09-03T20:40:26.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2026-07-11T00:43:07.000Z (about 1 month ago)
- Last Synced: 2026-08-20T10:12:14.482Z (3 days ago)
- Topics: cli, cli-app, cobra, cobra-generator, cobra-library, command, command-cobra, command-line, commandline, go, golang, golang-application, golang-library, posix, posix-compliant-flags, subcommands
- Language: Go
- Homepage: https://cobra.dev
- Size: 2.01 MB
- Stars: 44,476
- Watchers: 368
- Forks: 3,217
- Open Issues: 435
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
- Maintainers: MAINTAINERS
Owner metadata:
- Name: Steve Francia
- Login: spf13
- Email:
- Kind: user
- Description: Always learning • MD @twosigma • Ex @golang lead @Google, VP @Docker, @MongoDB, @Drupal board • @gohugoio, Cobra & spf13-vim creator
- Website: http://spf13.com
- Location: NYC
- Twitter: spf13
- Company: @twosigma
- Icon url: https://avatars.githubusercontent.com/u/173412?u=4865036ec60149f8354adcae563ff5cba01e0022&v=4
- Repositories: 105
- Last Synced at: 2023-04-09T10:53:55.261Z
- Profile URL: https://github.com/spf13
GitHub Events
Total
- Create event: 4
- Fork event: 186
- Issue comment event: 378
- Issues event: 61
- Member event: 1
- Pull request event: 98
- Pull request review comment event: 171
- Pull request review event: 233
- Push event: 28
- Release event: 3
- Watch event: 3635
- Total: 4798
Last Year
- Create event: 4
- Fork event: 186
- Issue comment event: 383
- Issues event: 61
- Member event: 1
- Pull request event: 98
- Pull request review comment event: 171
- Pull request review event: 233
- Push event: 28
- Release event: 3
- Watch event: 3663
- Total: 4831
Committers metadata
Last synced: 5 days ago
Total Commits: 992
Total Committers: 331
Avg Commits per committer: 2.997
Development Distribution Score (DDS): 0.886
Commits in past year: 15
Committers in past year: 13
Avg Commits per committer in past year: 1.154
Development Distribution Score (DDS) in past year: 0.867
| Name | Commits | |
|---|---|---|
| Albert Nigmatzianov | a****a@g****m | 113 |
| Steve Francia | s****a@g****m | 80 |
| Eric Paris | e****s@r****m | 59 |
| Marc Khouzam | m****m@g****m | 48 |
| jharshman | j****t@g****m | 39 |
| Unai Martinez-Corral | 3****r | 36 |
| Anthony Fok | f****a@d****g | 36 |
| dependabot[bot] | 4****] | 28 |
| Haim Ashkenazi | h****m@b****g | 22 |
| Ville Skyttä | v****a@u****m | 21 |
| John McBride | j****e@g****m | 19 |
| Austin Riendeau | a****n@a****m | 12 |
| Bjørn Erik Pedersen | b****n@g****m | 11 |
| Fabiano Franz | f****z@r****m | 11 |
| Paul Holzinger | 4****9 | 10 |
| Daniel Nephin | d****n@g****m | 10 |
| Nir Soffer | n****r@r****m | 10 |
| Daniel Martí | m****n@m****c | 7 |
| Sebastiaan van Stijn | t****h | 7 |
| Juan Leni | l****n@g****m | 6 |
| Dr. Stefan Schimanski | s****i@g****m | 6 |
| Bruce Downs | b****s@a****m | 6 |
| Nick Miyake | n****e | 6 |
| Warren Fernandes | w****s@g****m | 5 |
| Johanan Liebermann | j****n@g****m | 5 |
| Étienne Vallette d'Osia | d****a@g****m | 4 |
| tummychow | t****w | 4 |
| Tamir Duberstein | t****d@g****m | 4 |
| Rajat Jindal | r****3@g****m | 4 |
| Garth Kidd | g****h@g****m | 4 |
| and 301 more... | ||
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 293
Total pull requests: 405
Average time to close issues: 6 months
Average time to close pull requests: 4 months
Total issue authors: 262
Total pull request authors: 193
Average comments per issue: 3.44
Average comments per pull request: 3.23
Merged pull request: 141
Bot issues: 0
Bot pull requests: 34
Past year issues: 35
Past year pull requests: 114
Past year average time to close issues: 5 days
Past year average time to close pull requests: 20 days
Past year issue authors: 33
Past year pull request authors: 77
Past year average comments per issue: 2.2
Past year average comments per pull request: 1.6
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- jpmcb (8)
- OpenWaygate (4)
- lknite (3)
- switchupcb (3)
- scop (3)
- moshe5745 (2)
- realtebo (2)
- davidmichaelkarr (2)
- thediveo (2)
- blacktop (2)
- htoyoda18 (2)
- Airblader (2)
- duglin (2)
- jamietanna (2)
- jfishe (2)
Top Pull Request Authors
- dependabot[bot] (34)
- marckhouzam (18)
- hazrid93 (15)
- nirs (14)
- scop (14)
- thaJeztah (11)
- umarcor (10)
- jpmcb (9)
- sergioperezcheco (8)
- ccoVeille (6)
- Kirdock (4)
- fnickels (4)
- JeffFaer (4)
- ericdachen (4)
- SudhanshuMatrix (4)
Top Issue Labels
- area/flags-args (17)
- kind/bug (14)
- kind/feature (13)
- kind/support (9)
- area/lib (8)
- area/cobra-command (8)
- area/shell-completion (8)
- lifecycle/needs-pr (7)
- triage/needs-info (7)
- kind/documentation (6)
- admin (5)
- good-first-issue (5)
- lifecycle/stale (5)
- lifecycle/frozen (5)
- help-wanted (3)
- kind/security (3)
- lifecycle/needs-proposal (2)
- area/docs-generation (2)
- lifecycle/rotten (2)
- triage/needs-triage (1)
- kind/cleanup (1)
Top Pull Request Labels
- area/github (53)
- area/docs-generation (38)
- dependencies (33)
- github_actions (30)
- kind/feature (18)
- lgtm (16)
- area/cobra-command (9)
- area/shell-completion (9)
- kind/documentation (7)
- kind/cleanup (6)
- size/XS (6)
- kind/bug (6)
- size/M (6)
- kind/testing (5)
- area/flags-args (5)
- size/S (5)
- lifecycle/frozen (4)
- triage/needs-info (4)
- go (4)
- admin (3)
- area/go (3)
- size/L (3)
- size/XL (2)
- lifecycle/needs-review (2)
- kind/deprecation (1)
- lifecycle/stale (1)
- lifecycle/wont-do (1)
- lifecycle/approved (1)
- area/cli [deprecated] (1)
- help-wanted (1)
Package metadata
- Total packages: 26
- Total downloads: unknown
- Total docker downloads: 52,555,489,296
- Total dependent packages: 50,285 (may contain duplicates)
- Total dependent repositories: 109,481 (may contain duplicates)
- Total versions: 356
proxy.golang.org: github.com/spf13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/cobra
- Documentation: https://pkg.go.dev/github.com/spf13/cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T12:58:16.584Z (1 day ago)
- Versions: 27
- Dependent Packages: 50,282
- Dependent Repositories: 109,476
- Docker Downloads: 52,555,489,296
-
Rankings:
- Dependent packages count: 0.002%
- Docker downloads count: 0.006%
- Dependent repos count: 0.008%
- Average: 0.038%
- Stargazers count: 0.041%
- Forks count: 0.131%
proxy.golang.org: github.com/spf13/cobra/cobra
- Homepage: https://github.com/spf13/cobra
- Status: removed
- Documentation: https://pkg.go.dev/github.com/spf13/cobra/cobra#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.3.0 (published almost 4 years ago)
- Last Synced: 2026-08-22T11:23:11.537Z (1 day ago)
- Versions: 15
- Dependent Packages: 2
- Dependent Repositories: 4
-
Rankings:
- Stargazers count: 0.041%
- Forks count: 0.133%
- Average: 1.715%
- Dependent repos count: 2.507%
- Dependent packages count: 4.177%
proxy.golang.org: gopkg.in/spf13/cobra.v0
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/cobra
- Documentation: https://pkg.go.dev/gopkg.in/spf13/cobra.v0#section-documentation
- Licenses: apache-2.0
- Latest release: v0.0.3 (published over 8 years ago)
- Last Synced: 2026-08-22T11:20:23.233Z (1 day ago)
- Versions: 3
- Dependent Packages: 1
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 0.037%
- Forks count: 0.125%
- Average: 2.671%
- Dependent repos count: 4.706%
- Dependent packages count: 5.816%
proxy.golang.org: github.com/spf13/Cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/Cobra
- Documentation: https://pkg.go.dev/github.com/spf13/Cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:14:44.528Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.017%
- Forks count: 0.057%
- Average: 4.105%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/spf13/cobrA
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/cobrA
- Documentation: https://pkg.go.dev/github.com/spf13/cobrA#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:21:09.135Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.017%
- Forks count: 0.057%
- Average: 4.105%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/Spf13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/Spf13/cobra
- Documentation: https://pkg.go.dev/github.com/Spf13/cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:29:52.846Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.017%
- Forks count: 0.057%
- Average: 4.105%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/spF13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spF13/cobra
- Documentation: https://pkg.go.dev/github.com/spF13/cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T13:51:25.617Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.017%
- Forks count: 0.057%
- Average: 4.105%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/Spf13/cobra/cobra
- Homepage: https://github.com/Spf13/cobra
- Status: removed
- Documentation: https://pkg.go.dev/github.com/Spf13/cobra/cobra#section-documentation
- Licenses: Apache-2.0
- Latest release: v0.0.3 (published almost 4 years ago)
- Last Synced: 2026-08-22T11:21:45.692Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.017%
- Forks count: 0.057%
- Average: 4.105%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/SPF13/Cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/SPF13/Cobra
- Documentation: https://pkg.go.dev/github.com/SPF13/Cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:51:21.743Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.685%
- Average: 4.842%
- Dependent repos count: 4.999%
proxy.golang.org: github.com/spf13/coBRA
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/coBRA
- Documentation: https://pkg.go.dev/github.com/spf13/coBRA#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:25:47.680Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.704%
- Average: 4.862%
- Dependent repos count: 5.02%
proxy.golang.org: github.com/spf13/coBra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/coBra
- Documentation: https://pkg.go.dev/github.com/spf13/coBra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T12:12:15.264Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.718%
- Average: 4.877%
- Dependent repos count: 5.035%
proxy.golang.org: github.com/SpF13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/SpF13/cobra
- Documentation: https://pkg.go.dev/github.com/SpF13/cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T12:20:37.528Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.822%
- Average: 4.984%
- Dependent repos count: 5.146%
proxy.golang.org: github.com/SPF13/cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/SPF13/cobra
- Documentation: https://pkg.go.dev/github.com/SPF13/cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:47:23.705Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.926%
- Average: 5.091%
- Dependent repos count: 5.257%
proxy.golang.org: github.com/Spf13/Cobra
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/Spf13/Cobra
- Documentation: https://pkg.go.dev/github.com/Spf13/Cobra#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:43:43.196Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.051%
- Average: 5.221%
- Dependent repos count: 5.391%
proxy.golang.org: github.com/spf13/COBRA
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
- Homepage: https://github.com/spf13/COBRA
- Documentation: https://pkg.go.dev/github.com/spf13/COBRA#section-documentation
- Licenses: apache-2.0
- Latest release: v1.10.2 (published 9 months ago)
- Last Synced: 2026-08-22T11:57:20.007Z (1 day ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
ubuntu-23.10: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Licenses: apache-2.0
- Latest release: 1.7.0-1 (published 6 months ago)
- Last Synced: 2026-03-10T05:05:44.485Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-10: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Documentation: https://packages.debian.org/buster/golang-github-spf13-cobra
- Licenses: apache-2.0
- Latest release: 0.0.3-1 (published 6 months ago)
- Last Synced: 2026-03-13T07:07:06.374Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Licenses: apache-2.0
- Latest release: 1.6.1-1 (published 6 months ago)
- Last Synced: 2026-03-11T20:19:33.772Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Documentation: https://packages.debian.org/trixie/golang-github-spf13-cobra
- Licenses: apache-2.0
- Latest release: 1.8.1-1 (published 6 months ago)
- Last Synced: 2026-03-13T20:08:29.833Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.10: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Licenses: apache-2.0
- Latest release: 1.8.0-1 (published 7 months ago)
- Last Synced: 2026-03-08T16:48:30.507Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Documentation: https://packages.debian.org/bullseye/golang-github-spf13-cobra
- Licenses: apache-2.0
- Latest release: 1.1.2-1 (published 6 months ago)
- Last Synced: 2026-03-14T10:11:44.503Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
guix: go-github-com-spf13-cobra
Go library for creating CLI applications
- Homepage: https://github.com/spf13/cobra
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang-xyz.scm#n24852
- Licenses: asl2.0
- Latest release: 1.10.2 (published 6 months ago)
- Last Synced: 2026-04-27T18:13:57.666Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Documentation: https://packages.debian.org/bookworm/golang-github-spf13-cobra
- Licenses: apache-2.0
- Latest release: 1.6.1-1 (published 6 months ago)
- Last Synced: 2026-03-13T00:11:38.222Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Licenses: apache-2.0
- Latest release: 1.3.0-1 (published 7 months ago)
- Last Synced: 2026-03-07T04:44:17.033Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- github.com/cpuguy83/go-md2man/v2 v2.0.2
- github.com/inconshreveable/mousetrap v1.0.0
- github.com/spf13/pflag v1.0.5
- gopkg.in/yaml.v2 v2.4.0
- github.com/cpuguy83/go-md2man/v2 v2.0.2
- github.com/inconshreveable/mousetrap v1.0.0
- github.com/russross/blackfriday/v2 v2.1.0
- github.com/spf13/pflag v1.0.5
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/yaml.v2 v2.4.0
- actions/labeler v4 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-go v4 composite
- golangci/golangci-lint-action v3.7.0 composite
- msys2/setup-msys2 v2 composite