argh VS structopt

Compare argh vs structopt and see what are their differences.

argh

Rust derive-based argument parsing optimized for code size (by google)

structopt

Parse command line arguments by defining a struct. (by TeXitoi)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
argh structopt
7 18
1,568 2,684
2.3% -
6.0 2.7
17 days ago 4 months ago
Rust Rust
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

argh

Posts with mentions or reviews of argh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-07.

structopt

Posts with mentions or reviews of structopt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.

What are some alternatives?

When comparing argh and structopt you can also consider the following projects:

clap-rs - A full featured, fast Command Line Argument Parser for Rust

hello-actix - Hello, actix!

docopt.rs - Docopt for Rust (command line argument parser).

xflags

easy_flag - Simple command line flag parser for rust.

argparse-benchmarks-rs - Collected benchmarks for arg parsing crates written in Rust [Moved to: https://github.com/rosetta-rs/argparse-rosetta-rs]

anyhow - Flexible concrete Error type built on std::error::Error

pico-args - An ultra simple CLI arguments parser.

rust-starter - Rust Starter Project

rust-prehistory - historical archive of rust pre-publication development

enum-map