Taywee/args
A header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API). observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 94
- 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: 3
- age_days: 3780
- days_rel: 42
- days_push: 30
- n_releases_24m: 12
Adoption not part of the score
1635 stars · 183 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-header C++11 argument parsing library inspired by Python's argparse, offering static type checking, nested argument groups, custom types, and automatic help generation. It is feature-complete and maintained only for bug fixes.
Use cases
- parse command-line flags and options in a C++ program
- generate help output for a CLI tool
- parse positional arguments with type checking
- define mutually required argument groups
- accept custom types as command-line arguments
- replace hand-rolled argv parsing in C++
When to avoid
- you need robust UTF-8 flag names or normalization
- you need a parser with ongoing feature development
- you need subcommand-heavy CLI frameworks like CLI11 or cxxopts alternatives with richer APIs
Facets
library · maturity maintenance
parser cli developer-tools developer-tools parsers cpp cross-platform header-only argument-parsing argparse cpp11 single-header command-line
2 sources
- readme: https://github.com/Taywee/args · fetched 2026-08-28 · 1a4429ae3a4b
- homepage: http://taywee.github.io/args/ · fetched 2026-08-29 · 3bcc9466115c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Taywee/args | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem