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.18533875831436
Last synced: about 18 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-04-25T23:07:41.000Z (about 2 months ago)
- Last Synced: 2026-05-31T14:16:42.463Z (20 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,033
- Watchers: 360
- Forks: 3,154
- Open Issues: 372
-
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: 20 days ago
Total Commits: 991
Total Committers: 330
Avg Commits per committer: 3.003
Development Distribution Score (DDS): 0.886
Commits in past year: 16
Committers in past year: 14
Avg Commits per committer in past year: 1.143
Development Distribution Score (DDS) in past year: 0.875
| 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 300 more... | ||
Issue and Pull Request metadata
Last synced: 3 months ago
Total issues: 278
Total pull requests: 321
Average time to close issues: 6 months
Average time to close pull requests: 5 months
Total issue authors: 249
Total pull request authors: 139
Average comments per issue: 3.51
Average comments per pull request: 3.67
Merged pull request: 138
Bot issues: 0
Bot pull requests: 34
Past year issues: 36
Past year pull requests: 65
Past year average time to close issues: 23 days
Past year average time to close pull requests: 25 days
Past year issue authors: 33
Past year pull request authors: 40
Past year average comments per issue: 1.81
Past year average comments per pull request: 1.94
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- jpmcb (8)
- OpenWaygate (4)
- lknite (3)
- switchupcb (3)
- davidmichaelkarr (2)
- realtebo (2)
- htoyoda18 (2)
- Airblader (2)
- duglin (2)
- jamietanna (2)
- thediveo (2)
- scop (2)
- blacktop (2)
- marckhouzam (2)
- guettli (2)
Top Pull Request Authors
- dependabot[bot] (34)
- marckhouzam (18)
- nirs (14)
- scop (14)
- thaJeztah (10)
- umarcor (10)
- jpmcb (9)
- ccoVeille (6)
- JunNishimura (4)
- ericdachen (4)
- albers (4)
- fnickels (4)
- pedromotita (4)
- JeffFaer (4)
- Kirdock (4)
Top Issue Labels
- area/flags-args (17)
- kind/bug (14)
- kind/feature (13)
- kind/support (9)
- area/cobra-command (8)
- area/lib (8)
- area/shell-completion (8)
- triage/needs-info (7)
- lifecycle/needs-pr (7)
- kind/documentation (6)
- lifecycle/stale (5)
- good-first-issue (5)
- lifecycle/frozen (5)
- admin (5)
- help-wanted (3)
- kind/security (3)
- lifecycle/needs-proposal (2)
- lifecycle/rotten (2)
- area/docs-generation (2)
- triage/needs-triage (1)
- kind/cleanup (1)
Top Pull Request Labels
- area/github (48)
- dependencies (33)
- area/docs-generation (30)
- github_actions (30)
- kind/feature (18)
- lgtm (16)
- area/shell-completion (9)
- area/cobra-command (8)
- kind/documentation (7)
- size/XS (6)
- kind/cleanup (6)
- size/M (6)
- size/S (5)
- kind/testing (5)
- kind/bug (5)
- area/flags-args (5)
- go (4)
- area/go (3)
- admin (3)
- size/L (3)
- lifecycle/frozen (3)
- triage/needs-info (3)
- size/XL (2)
- lifecycle/needs-review (2)
- lifecycle/stale (1)
- kind/deprecation (1)
- lifecycle/approved (1)
- lifecycle/wont-do (1)
- help-wanted (1)
- area/cli [deprecated] (1)
Package metadata
- Total packages: 26
- Total downloads: unknown
- Total docker downloads: 52,555,489,296
- Total dependent packages: 50,284 (may contain duplicates)
- Total dependent repositories: 109,480 (may contain duplicates)
- Total versions: 380
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 7 months ago)
- Last Synced: 2026-06-10T22:31:24.739Z (10 days 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
- Documentation: https://pkg.go.dev/github.com/spf13/cobra/cobra#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.3.0 (published over 3 years ago)
- Last Synced: 2026-06-10T10:33:28.332Z (10 days 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: 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 7 months ago)
- Last Synced: 2026-06-11T14:31:52.534Z (9 days 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. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- 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 7 months ago)
- Last Synced: 2026-06-08T12:51:29.374Z (12 days 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. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- 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 7 months ago)
- Last Synced: 2026-06-06T20:45:35.779Z (14 days 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. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- 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 7 months ago)
- Last Synced: 2026-05-13T13:57:58.958Z (about 1 month 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
- Documentation: https://pkg.go.dev/github.com/Spf13/cobra/cobra#section-documentation
- Licenses: Apache-2.0
- Latest release: v0.0.3 (published over 3 years ago)
- Last Synced: 2026-05-12T21:32:20.944Z (about 1 month 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
- Homepage:
- Documentation: https://pkg.go.dev/github.com/SPF13/Cobra#section-documentation
- Licenses:
- Latest release: v1.10.2 (published 7 months ago)
- Last Synced: 2026-06-10T10:02:55.308Z (10 days 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
- Homepage:
- Documentation: https://pkg.go.dev/github.com/spf13/coBRA#section-documentation
- Licenses:
- Latest release: v1.10.2 (published 7 months ago)
- Last Synced: 2026-06-05T10:44:36.974Z (15 days 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
- Homepage:
- Documentation: https://pkg.go.dev/github.com/spf13/coBra#section-documentation
- Licenses:
- Latest release: v1.10.2 (published 7 months ago)
- Last Synced: 2026-05-28T03:31:59.242Z (24 days 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
- Homepage:
- Documentation: https://pkg.go.dev/github.com/SpF13/cobra#section-documentation
- Licenses:
- Latest release: v1.10.2 (published 7 months ago)
- Last Synced: 2026-05-30T00:02:04.086Z (22 days 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. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- 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 7 months ago)
- Last Synced: 2026-05-06T14:59:40.498Z (about 2 months 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 7 months ago)
- Last Synced: 2026-06-08T17:15:17.118Z (12 days 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. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- 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 7 months ago)
- Last Synced: 2026-06-05T12:01:55.069Z (15 days ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: www.github.com/spf13/cobra.git
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces. In addition to providing an interface, Cobra simultaneously provides a controller to organize your application code.
- Homepage: https://www.github.com/spf13/cobra
- Documentation: https://pkg.go.dev/www.github.com/spf13/cobra.git#section-documentation
- Licenses: Apache-2.0
- Latest release: v1.10.2 (published 7 months ago)
- Last Synced: 2026-06-03T08:02:04.524Z (17 days ago)
- Versions: 27
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
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 4 months ago)
- Last Synced: 2026-03-13T07:07:06.374Z (3 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 4 months ago)
- Last Synced: 2026-03-14T10:11:44.503Z (3 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 4 months ago)
- Last Synced: 2026-03-07T04:44:17.033Z (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-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 4 months ago)
- Last Synced: 2026-03-13T20:08:29.833Z (3 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 4 months ago)
- Last Synced: 2026-03-13T00:11:38.222Z (3 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.10: golang-github-spf13-cobra
- Homepage: https://github.com/spf13/cobra
- Licenses: apache-2.0
- Latest release: 1.7.0-1 (published 4 months ago)
- Last Synced: 2026-03-10T05:05:44.485Z (3 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 4 months ago)
- Last Synced: 2026-03-08T16:48:30.507Z (3 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 4 months ago)
- Last Synced: 2026-03-11T20:19:33.772Z (3 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 4 months ago)
- Last Synced: 2026-04-27T18:13:57.666Z (about 2 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