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

argh review

Free#9 of 60 in Command-Line Interface Frameworks

A focused, free Rust CLI parser with typed derives, subcommands, help, and completions.

8.6/10Editor score
argh8.6 Visit argh

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

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.

argh pros and cons

  • 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

argh fact sheet, pricing and score →

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