Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

argh

Free#9 of 60 in Command-Line Interface Frameworks

argh: A focused, free Rust CLI parser with typed derives, subcommands, help, and completions. Ranked #9 of 60 in Command-Line Interface Frameworks by our editors (8.6/10); pricing: Free plan; best for rust CLIs using derive-based argument structs.

8.6/10Editor score
argh8.6 Visit argh

At a glance

  • Editor score
    8.6 / 10
  • Pricing
    Free plan
  • Best for
    Rust CLIs using derive-based argument structs
  • Free plan
    Yes
  • Paid from
    Free
  • Shell completion
    Yes
  • Facts checked
    17 Nov 2026
  • Where it wins

    • FromArgs derive macro creates typed command-line argument structures
    • Supports nested and dynamically discovered subcommands
    • argh_complete generates Bash, Fish, Nushell, and Zsh scripts
  • Where it doesn't

    • No configuration-file binding is provided
    • No environment-variable binding is provided
    • Support is provided through documentation channels

Our verdict on argh

argh is an open-source Rust library for parsing command-line arguments in applications that prioritize small binaries and conformance with the Fuchsia command-line tools specification. Its FromArgs derive macro lets developers declare argument structures, while from_env handles process arguments. The library suits solo developers through enterprise teams building Rust command-line tools that need typed parsing without a hosted service.

The published offering is a single open-source plan: argh is free to use and licensed under BSD-3-Clause. Its parsing scope covers switches, options, positional arguments, repeating arguments, default values, and custom parsing functions. Typed conversion is handled through FromArgValue and FromStr, and automatic help and usage text generation reduces the amount of command-line presentation code required. There are no paid tiers described, so the feature set is centered on the library itself rather than plan-based additions.

For shell integration, the companion argh_complete crate generates completion scripts for Bash, Fish, Nushell, and Zsh. Hierarchical and dynamically discovered subcommands support command trees that can grow beyond a single executable entry point, while self-hosted deployment fits projects distributing their own binaries. The trade-off is a narrow configuration surface: configuration-file and environment-variable binding are not provided. Teams wanting derive-based Rust parsing, typed conversion, automatic help, and shell completions should consider argh; projects that require built-in config or environment binding should choose a framework offering those capabilities.

Your product? Our editors can test argh in depth and publish a review, labelled as paid · from $149/mo →

argh pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on docs.rs

argh fact sheet

Free planYes
Paid fromFree
Shell completionYes
Nested subcommandsYes
Code generationYes
Config file supportNo
Environment variablesNo
Typed APIYes
DeploymentSelf-hosted
SupportDocs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitedocs.rs
Facts checked17 Nov 2026

Alternatives to argh

See all argh alternatives →

Used argh? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used argh for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — argh 8.6/10

argh is listed in our Command-Line Interface Frameworks directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/argh/"><img src="https://www.itechguides.com/best/badge/argh.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update