tanakh/cmdline
A Command Line Parser observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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: 6159
- days_rel: n/a
- days_push: 2089
- n_releases_24m: 0
Adoption not part of the score
1426 stars · 384 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cmdline is a simple, header-only command line argument parser for C++. It supports typed options, default values, range/oneof constraints, boolean flags, and automatic usage/error message generation.
Use cases
- parse command line arguments in a C++ program
- generate usage/help text automatically
- validate typed CLI options with constraints
- add flags and options without installing a library
- replace getopt with an easier parser
When to choose
- you want a zero-dependency, single-header C++ CLI parser
- you need automatic type checking and usage generation
- you want to drop a parser into your project by copying one file
When to avoid
- you need subcommands or advanced CLI features
- you want an actively developed library with recent updates
- you need locale-aware or complex argument syntax
Facets
library · maturity maintenance
parser cli developer-tools developer-tools parsers cpp cross-platform cli header-only command-line-parser argument-parsing cpp single-header command-line
3 sources
- readme: https://github.com/tanakh/cmdline · fetched 2026-08-28 · 834023f71560
- homepage: http://d.hatena.ne.jp/tanakh/20091028 · fetched 2026-08-29 · 6b9daec73dcf
- site_page: https://tanakh.hatenablog.com/about · fetched 2026-08-29 · 8f741ae1a40a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tanakh/cmdline | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem