Ross ROSS = Recommend OSS · open-source software intelligence for agents

alecthomas/kingpin

CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser observed · 2026-08-28

github.com/alecthomas/kingpin · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 99
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4494
  • days_rel: n/a
  • days_push: 7
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3568 stars · 279 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Kingpin is a fluent-style, type-safe command-line and flag parser for Go, supporting flags, nested sub-commands, positional arguments, and shell completion. It is feature-stable but contributions-only, with the author recommending his newer library Kong for new projects.

Use cases

  • parse command-line flags in a Go program
  • build a CLI tool with nested subcommands
  • generate bash/zsh/fish shell completions for a Go CLI
  • define required and default flag values with type safety
  • handle positional arguments in a command-line application

When to choose

  • you are maintaining an existing Go project that already uses Kingpin
  • you need a mature, feature-stable flag and subcommand parser for Go
  • you want a fluent, type-safe API for CLI parsing

When to avoid

  • you are starting a new Go project and want active maintenance (consider Kong instead)
  • you need bug fixes or new features guaranteed by the maintainer
  • you need a parser for a language other than Go

Facets

library · maturity maintenance

cli parser developer-tools parsers go cross-platform flag-parsing command-line-parser subcommands shell-completion fluent-api command-line

1 source

Member repositories

RepositoryRoleHealth v2
alecthomas/kingpinmain67

For agents

markdown · JSON · MCP: product_card(name="alecthomas/kingpin")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem