alecthomas/kong
Kong is a command-line parser for Go observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3067
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
3162 stars · 183 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Kong is a command-line argument parser library for Go that maps flags, positional arguments, and subcommands onto Go structs using tags. It supports help generation, configuration file loading, plugins, validation, and custom decoders.
Use cases
- parse command-line flags in a Go program
- build a CLI with subcommands in Go
- generate help text for a Go CLI
- load CLI defaults from config files
- define CLI arguments with struct tags
When to choose
- you are writing a Go CLI and want struct-based flag and subcommand parsing
- you need rich help output, plugins, and configuration file support out of the box
When to avoid
- you need a CLI parser in a language other than Go
- you want a minimal zero-dependency flag parser like the stdlib flag package
Facets
library · maturity stable
parser cli developer-tools developer-tools parsers go cli cross-platform flag-parsing subcommands struct-tags help-generation configuration command-line
1 source
- readme: https://github.com/alecthomas/kong · fetched 2026-08-28 · b747a5d11dbf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alecthomas/kong | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem