https://github.com/alecthomas/kong
command-line commands flags go golang parser struct tags
Score: 32.48184853702145
Last synced: about 12 hours ago
JSON representation
Repository metadata:
Kong is a command-line parser for Go
- Host: GitHub
- URL: https://github.com/alecthomas/kong
- Owner: alecthomas
- License: mit
- Created: 2018-04-10T06:50:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-10-20T15:50:53.000Z (14 days ago)
- Last Synced: 2026-10-29T12:03:44.021Z (5 days ago)
- Topics: command-line, commands, flags, go, golang, parser, struct, tags
- Language: Go
- Size: 943 KB
- Stars: 3,192
- Watchers: 13
- Forks: 203
- Open Issues: 63
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING
-
Funding:
- Github: alecthomas
Owner metadata:
- Name: Alec Thomas
- Login: alecthomas
- Email: alec@swapoff.org
- Kind: user
- Description:
- Website: http://swapoff.org
- Location: Sydney, Australia
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/41767?v=4
- Repositories: 180
- Last Synced at: 2026-11-01T22:06:16.254Z
- Profile URL: https://github.com/alecthomas
GitHub Events
Total
- Commit comment event: 1
- Create event: 31
- Delete event: 23
- Discussion event: 1
- Fork event: 24
- Issue comment event: 183
- Issues event: 83
- Pull request event: 93
- Pull request review comment event: 22
- Pull request review event: 45
- Push event: 131
- Release event: 1
- Watch event: 669
- Total: 1307
Last Year
- Create event: 7
- Delete event: 7
- Discussion event: 1
- Fork event: 4
- Issue comment event: 25
- Issues event: 4
- Pull request event: 17
- Pull request review comment event: 2
- Pull request review event: 3
- Push event: 36
- Watch event: 61
- Total: 167
Committers metadata
Last synced: about 13 hours ago
Total Commits: 504
Total Committers: 101
Avg Commits per committer: 4.99
Development Distribution Score (DDS): 0.458
Commits in past year: 45
Committers in past year: 27
Avg Commits per committer in past year: 1.667
Development Distribution Score (DDS) in past year: 0.778
| Name | Commits | |
|---|---|---|
| Alec Thomas | a****c@s****g | 273 |
| renovate[bot] | 2****] | 46 |
| Gerald Kaszuba | g****k@g****m | 14 |
| Abhinav Gupta | m****l@a****t | 13 |
| Mitar | m****t@t****m | 11 |
| Cam Hutchison | c****h@x****t | 7 |
| Joe Schmitt | j****e@c****m | 7 |
| Bob Lail | l****l@s****m | 6 |
| Rene Zbinden | r****n@p****h | 5 |
| Andrew Chen | 4****9 | 4 |
| pyq-lsa | 2****a | 4 |
| hasheddan | g****m@g****m | 4 |
| Denis Titusov | s****u@g****m | 3 |
| Keilin Olsen | k****n@a****m | 3 |
| Will Roden | w****s@g****m | 3 |
| Charlie Tonneslan | c****0@g****m | 3 |
| Leo Antunes | l****o@c****t | 2 |
| JinHyuk Sung | 1****4 | 2 |
| Jan Heuermann | j****n@j****t | 2 |
| Jacob Hochstetler | j****r@g****m | 2 |
| Matthias Fax | m****x@g****m | 2 |
| Sam Xie | s****m@s****e | 2 |
| pyqlsa | 2****a | 2 |
| Camilla | C****i@B****g | 2 |
| Evgeny | y****r@g****m | 2 |
| David Shiflet | d****t@m****m | 2 |
| Connor Hindley | c****y@t****m | 2 |
| Colin | v****n@g****m | 2 |
| Michal Kralik | m****k@p****m | 2 |
| Chris Stephen | c****n@c****m | 1 |
| and 71 more... | ||
Issue and Pull Request metadata
Last synced: about 13 hours ago
Total issues: 145
Total pull requests: 257
Average time to close issues: 6 months
Average time to close pull requests: about 2 months
Total issue authors: 104
Total pull request authors: 88
Average comments per issue: 2.39
Average comments per pull request: 1.17
Merged pull request: 163
Bot issues: 1
Bot pull requests: 69
Past year issues: 12
Past year pull requests: 61
Past year average time to close issues: 3 days
Past year average time to close pull requests: 21 days
Past year issue authors: 10
Past year pull request authors: 40
Past year average comments per issue: 0.33
Past year average comments per pull request: 1.08
Past year merged pull request: 21
Past year bot issues: 0
Past year bot pull requests: 7
Top Issue Authors
- mitar (22)
- alecthomas (4)
- dbohdan (3)
- XSAM (2)
- titusjaka (2)
- smlx (2)
- AlekSi (2)
- Hritik14 (2)
- krasi-georgiev (2)
- jotaen (2)
- b4nst (2)
- renom (2)
- abhinav (2)
- shueybubbles (2)
- IxDay (2)
Top Pull Request Authors
- renovate[bot] (68)
- abhinav (18)
- boblail (12)
- mitar (10)
- sunsx0 (6)
- michal-kralik (6)
- pyqlsa (6)
- Pastalikek65 (5)
- kkettinger (4)
- chuenchen309 (4)
- costela (3)
- keilin-anz (3)
- titusjaka (3)
- XSAM (3)
- camh- (3)
Top Issue Labels
- enhancement (3)
- help wanted (2)
- good first issue (1)
- duplicate (1)
- bug (1)
Top Pull Request Labels
- dependencies (1)
Package metadata
- Total packages: 17
- Total downloads: unknown
- Total docker downloads: 388,874,224
- Total dependent packages: 1,681 (may contain duplicates)
- Total dependent repositories: 3,574 (may contain duplicates)
- Total versions: 244
proxy.golang.org: github.com/alecthomas/kong
Package kong aims to support arbitrarily complex command-line structures with as little developer effort as possible.
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://pkg.go.dev/github.com/alecthomas/kong#section-documentation
- Licenses: MIT
- Latest release: v1.17.0 (published 5 days ago)
- Last Synced: 2026-11-03T09:52:07.459Z (about 13 hours ago)
- Versions: 76
- Dependent Packages: 1,681
- Dependent Repositories: 3,574
- Docker Downloads: 388,874,224
-
Rankings:
- Dependent packages count: 0.107%
- Dependent repos count: 0.136%
- Docker downloads count: 0.183%
- Average: 0.938%
- Stargazers count: 1.785%
- Forks count: 2.482%
proxy.golang.org: gopkg.in/alecthomas/kong.v0
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://pkg.go.dev/gopkg.in/alecthomas/kong.v0#section-documentation
- Licenses: mit
- Latest release: v0.1.4 (published about 8 years ago)
- Last Synced: 2026-11-03T09:51:58.393Z (about 13 hours ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 1.207%
- Forks count: 1.577%
- Average: 4.782%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/Alecthomas/kong
- Homepage: https://github.com/Alecthomas/kong
- Documentation: https://pkg.go.dev/github.com/Alecthomas/kong#section-documentation
- Licenses: mit
- Latest release: v0.1.4 (published about 8 years ago)
- Last Synced: 2026-11-03T09:53:24.091Z (about 13 hours ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.674%
- Average: 4.831%
- Dependent repos count: 4.988%
proxy.golang.org: github.com/alecthomas/Kong
- Homepage: https://github.com/alecthomas/Kong
- Documentation: https://pkg.go.dev/github.com/alecthomas/Kong#section-documentation
- Licenses: mit
- Latest release: v1.15.0 (published 7 months ago)
- Last Synced: 2026-11-03T09:52:37.119Z (about 13 hours ago)
- Versions: 73
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.849%
- Average: 5.012%
- Dependent repos count: 5.175%
proxy.golang.org: github.com/alecthomas/KONG
- Homepage: https://github.com/alecthomas/KONG
- Documentation: https://pkg.go.dev/github.com/alecthomas/KONG#section-documentation
- Licenses: mit
- Latest release: v1.15.0 (published 7 months ago)
- Last Synced: 2026-11-03T09:51:29.006Z (about 13 hours ago)
- Versions: 73
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.941%
- Average: 5.107%
- Dependent repos count: 5.273%
ubuntu-24.10: golang-github-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Licenses: mit
- Latest release: 0.9.0-1 (published 9 months ago)
- Last Synced: 2026-10-02T07:28:56.699Z (about 1 month 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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://packages.debian.org/bullseye/golang-github-alecthomas-kong
- Licenses: mit
- Latest release: 0.2.4-1 (published 9 months ago)
- Last Synced: 2026-10-02T07:28:08.000Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: golang-github-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Licenses: mit
- Latest release: 0.2.1-1 (published 9 months ago)
- Last Synced: 2026-03-08T02:55:56.833Z (8 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-alecthomas-kong
Command-line parser for Golang
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang-xyz.scm#n1561
- Licenses: expat
- Latest release: 1.12.1 (published 8 months ago)
- Last Synced: 2026-10-02T07:28:01.132Z (about 1 month 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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://packages.debian.org/trixie/golang-github-alecthomas-kong
- Licenses: mit
- Latest release: 0.9.0-1 (published 9 months ago)
- Last Synced: 2026-07-24T20:44:14.964Z (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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://packages.debian.org/bookworm/golang-github-alecthomas-kong
- Licenses: mit
- Latest release: 0.7.1-1 (published 9 months ago)
- Last Synced: 2026-10-02T07:27:48.062Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.04: golang-github-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Licenses: mit
- Latest release: 0.8.1-1 (published 9 months ago)
- Last Synced: 2026-08-31T23:28:47.667Z (2 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-alecthomas-kong-for-zk
Command-line parser for Golang
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/golang-xyz.scm#n1590
- Licenses: mit
- Latest release: 0.5.0 (published 8 months ago)
- Last Synced: 2026-04-27T18:15:03.425Z (6 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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Status: removed
- Licenses: mit
- Latest release: 0.2.17-1 (published 9 months ago)
- Last Synced: 2026-08-03T07:02:40.668Z (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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Licenses: mit
- Latest release: 0.7.1-1 (published 9 months ago)
- Last Synced: 2026-10-02T07:28:55.400Z (about 1 month 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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Documentation: https://packages.debian.org/buster/golang-github-alecthomas-kong
- Licenses: mit
- Latest release: 0.1.15-1 (published 9 months ago)
- Last Synced: 2026-03-14T05:05:27.135Z (8 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-alecthomas-kong
- Homepage: https://github.com/alecthomas/kong
- Licenses: mit
- Latest release: 0.3.0-2 (published 9 months ago)
- Last Synced: 2026-03-11T20:13:44.912Z (8 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/alecthomas/colour v0.1.0
- github.com/alecthomas/kong v0.2.1
- github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
- github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
- github.com/gliderlabs/ssh v0.2.2
- github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
- github.com/kr/pty v1.1.8
- github.com/mattn/go-isatty v0.0.12
- golang.org/x/crypto v0.0.0-20200117160349-530e935923ad
- github.com/alecthomas/colour v0.1.0
- github.com/alecthomas/kong v0.2.1
- github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
- github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
- github.com/creack/pty v1.1.7
- github.com/davecgh/go-spew v1.1.1
- github.com/gliderlabs/ssh v0.2.2
- github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
- github.com/kr/pty v1.1.8
- github.com/mattn/go-isatty v0.0.12
- github.com/mitchellh/mapstructure v1.1.2
- github.com/pkg/errors v0.8.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/testify v1.2.2
- golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
- golang.org/x/crypto v0.0.0-20200117160349-530e935923ad
- golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
- golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
- golang.org/x/sys v0.0.0-20190412213103-97732733099d
- golang.org/x/sys v0.0.0-20200116001909-b77594299b42
- golang.org/x/text v0.3.0
- github.com/alecthomas/assert/v2 v2.1.0
- github.com/alecthomas/repr v0.1.0
- github.com/hexops/gotextdiff v1.0.3
- github.com/alecthomas/assert/v2 v2.1.0
- github.com/alecthomas/repr v0.1.0
- github.com/hexops/gotextdiff v1.0.3
- actions/checkout v2 composite