# rust-cli/book

Documentation on how to use the Rust Programming Language to develop commandline applications

Repository: https://github.com/rust-cli/book
Canonical: https://ross.abutalabs.com/products/rust-cli-book
Homepage: https://rust-cli.github.io/book/index.html
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-08-01T11:26:37+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 2462, "days_push": 32, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1046, forks 121 (observed 2026-08-28T04:03:21.786518+00:00)

## What it is
CLAiR, the official 'Command Line Applications in Rust' book maintained by the Rust CLI working group. It is an mdBook-based tutorial and reference for building CLI tools in Rust.

## Use cases
- learn how to write command line applications in rust
- tutorial for building a cli tool with rust
- guide to rust argument parsing and cli patterns
- onboard a team to rust via cli projects
- reference for structuring rust cli projects

## When to choose
- you are learning Rust and want a practical project
- you are building a CLI tool in Rust and need idiomatic guidance
- you want official, maintained documentation from the Rust CLI working group

## When to avoid
- you need a CLI framework or library rather than documentation
- you need deep reference material on a specific crate like clap
- you are not working in Rust

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools, cli
- domain: developer-tools, tutorials, documentation
- platform: rust, cli, cross-platform
- tags: rust-cli, book, mdbook, tutorial, command-line-applications, command-line

## Member repositories
- rust-cli/book (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:21.786518+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:01:59.420801+00:00, confidence not recorded.
  - readme: https://github.com/rust-cli/book (fetched 2026-08-28T04:03:21.786518+00:00, sha 6486c1899d89)
  - homepage: https://rust-cli.github.io/book/index.html (fetched 2026-08-29T13:02:39.441351+00:00, sha 72b61fb1578e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
