Hejsil/zig-clap
Command line argument parsing library observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 87
- Release rhythm 48
- Longevity 100
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: 205.0
- age_days: 3094
- days_rel: 135
- days_push: 81
- n_releases_24m: 3
Adoption not part of the score
1604 stars · 98 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
zig-clap is a simple and easy-to-use command line argument parsing library for Zig. It supports short and long arguments, chained flags, multiple value-passing styles, and help message generation and parsing.
Use cases
- parse command line arguments in a zig program
- generate help messages from parameter specifications
- handle short and long cli flags with values
- support chained flags like -abc in a cli tool
- parse help text back into parameter specifications
When to choose
- you are writing a command line tool in Zig and need argument parsing
- you want automatic help message generation from parameter specs
- you need flexible value-passing syntaxes like -a=100 or -a100
When to avoid
- your project is not written in Zig
- you need declarative argument parsing with code generation for other languages
Facets
library · maturity active
parser cli developer-tools developer-tools parsers cli cross-platform argument-parsing zig command-line-parser command-line
1 source
- readme: https://github.com/Hejsil/zig-clap · fetched 2026-08-28 · 89042c150f18
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Hejsil/zig-clap | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem