Rust Command-line argument parsing

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

Top 4 Rust Command-line argument parsing Projects

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: Hey Rustaceans! Got a question? Ask here! (43/2022)! | reddit.com/r/rust | 2022-10-24

    If you check the bottom of a crates page on crates.io, you can see download stats. clap has over 81M downloads. arkwerk has 3,868.

  • structopt

    Parse command line arguments by defining a struct.

    Project mention: clap with Ed Page :: Rustacean Station | reddit.com/r/rust | 2022-04-25

    I feel like discovering moves like this is a weakness in the ecosystem today. You can check out some of our discussion on raising visibility

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • docopt.rs

    Docopt for Rust (command line argument parser).

    Project mention: Fedora to disallow CC0-licensed code | news.ycombinator.com | 2022-07-25

    Ditto, I guess? :P (But obviously with the position on the Unlicense flipped.)

    To address your indictment head-on: you suggesting the 0BSD as a better alternative is really missing my point. The 0BSD is not an alternative for my use case. The Unlicense is one of the very few overt "political" acts that I inject into the software I produce. Its purpose is to make a statement. The 0BSD doesn't do that IMO, so it's not actually an alternative that meets my advocacy goal.

    You and Rick Moen seem to have the same apparent blind spot for this. See my conversation with him that started here (which might also clarify some aspects of my own position): https://github.com/docopt/docopt.rs/issues/1#issuecomment-42...

    And finally, note that my dual licensing scheme is exactly a response to the "problems pointed out by quite a few people": https://github.com/BurntSushi/byteorder/issues/26

  • 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 2022-10-24.

Rust Command-line argument parsing related posts

Index

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 10,063
2 structopt 2,540
3 docopt.rs 744
4 easy_flag 3
Delete the most useless function ever: context switching.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai