google/argh
Rust derive-based argument parsing optimized for code size observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 84
- 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: 2407
- days_rel: n/a
- days_push: 98
- n_releases_24m: 0
Adoption not part of the score
1950 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Argh is a Rust derive-based command-line argument parsing library optimized for code size, built around the FromArgs derive macro and from_env function. It supports switches, options, subcommands, and default values while conforming to the Fuchsia commandline tools specification.
Use cases
- parse command-line arguments in a Rust CLI
- define CLI flags and options with derive macros
- build small binaries with minimal code size overhead
- add subcommands to a Rust command-line tool
- generate --help usage output automatically
When to choose
- you want a lightweight argument parser with small binary size
- you prefer derive-based declarative CLI definitions in Rust
- you need Fuchsia commandline tools spec conformance
When to avoid
- you need highly customizable or non-standard CLI behaviors
- you want extensive features like shell completion generation or colored help
- your project is not written in Rust
Facets
library · maturity active
cli parser developer-tools developer-tools programming-languages rust cross-platform cli argument-parsing derive-macros subcommands code-size-optimized fuchsia command-line
2 sources
- readme: https://github.com/google/argh · fetched 2026-08-28 · e773ed7606f2
- registry_crates: https://crates.io/api/v1/crates/argh · fetched 2026-08-29 · e3b3b882e4ca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/argh | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem