# TeXitoi/structopt

Parse command line arguments by defining a struct.

Repository: https://github.com/TeXitoi/structopt
Canonical: https://ross.abutalabs.com/products/structopt
Language: Rust
License: NOASSERTION
License Family: other
Last push: 2024-01-07T23:29:29+00:00

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

## Adoption (not part of the score)
Stars 2725, forks 150 (observed 2026-08-28T04:07:15.847029+00:00)

## What it is
A Rust library that parses command line arguments by defining a struct, combining clap with a custom derive macro. It is now in maintenance mode since its features were integrated into clap v3.

## Use cases
- parse command line arguments in rust
- define cli options with structs
- generate help messages from doc comments
- build rust cli tools with typed arguments
- migrate from docopt-style parsing to derive-based cli

## When to choose
- maintaining an existing rust project already using structopt
- working on a rust codebase pinned to clap v2 that needs derive-based argument parsing

## When to avoid
- starting a new rust cli project - use clap v3/v4 derive instead
- needing features not present in structopt since no new features will be added

## Facets
- artifact type: library
- maturity: maintenance
- function: cli, parser, developer-tools
- domain: developer-tools, parsers
- platform: rust, cli, cross-platform
- tags: clap, derive-macro, argument-parsing, rust, command-line

## Member repositories
- TeXitoi/structopt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:15.847029+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-30T02:14:49.459713+00:00, confidence not recorded.
  - readme: https://github.com/TeXitoi/structopt (fetched 2026-08-28T04:07:15.847029+00:00, sha 9421b7a528e0)
  - registry_crates: https://crates.io/api/v1/crates/structopt (fetched 2026-08-29T09:57:54.218491+00:00, sha ddf85e33496d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
