Rust Command-line argument parsing

Open-source Rust projects categorized as Command-line argument parsing

Top 3 Rust Command-line argument parsing Projects

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: CLI Contexts | | 2023-12-27

    I recently came across this question (and associated answer) on the clap repository. The answer given is a good one. But I wanted to expand with my own findings and practices, which spurred the motivation for this post.

  • structopt

    Parse command line arguments by defining a struct.

    Project mention: What's the coolest Rust project you've seen that made you go, 'Wow, I didn't know Rust could do that!'? | /r/rust | 2023-07-03

    Hope you are aware that structopt is in maintenance mode and is merged into clap as of v3.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • easy_flag

    Simple command line flag parser for rust.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-27.

Rust Command-line argument parsing related posts


What are some of the best open-source Command-line argument parsing projects in Rust? This list will help you:

Project Stars
1 clap-rs 12,962
2 structopt 2,667
3 easy_flag 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives