jarro2783/cxxopts
Lightweight C++ command line option parser observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 92
- 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: 4352
- days_rel: 464
- days_push: 51
- n_releases_24m: 1
Adoption not part of the score
4800 stars · 652 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A lightweight, header-only C++ command line option parser supporting GNU-style syntax. It handles long and short options, typed values, defaults, and positional arguments with a simple declarative API.
Use cases
- parse command line arguments in a C++ program
- support --long and -s short options with GNU syntax
- handle positional arguments after --
- define typed options with defaults for a CLI tool
- add argument parsing to a header-only C++ project without dependencies
When to choose
- you need a lightweight, header-only option parser with no build step
- you want GNU-style long/short option parsing in C++
- you want typed options with automatic parsing via operator>>
- you need MIT-licensed parsing available via Conan, vcpkg, or Homebrew
When to avoid
- you need subcommands or complex CLI frameworks with help generation beyond basics
- you are not writing C++
- you need runtime-configurable or config-file-driven options
Facets
library · maturity stable
parser cli developer-tools developer-tools cross-platform cpp cross-platform windows header-only command-line-parsing gnu-style-options lightweight command-line linux macos
1 source
- readme: https://github.com/jarro2783/cxxopts · fetched 2026-08-28 · d68c91e1b043
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jarro2783/cxxopts | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="jarro2783/cxxopts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem