ideas (best practices) for handling per-file options when using clap

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  • I am building a CLI using clap currently I have this structure:

  • s3m

    CLI for streams of data in S3 buckets

  • I would like mycli.rs to be only like the switch/dispatcher based on an option/subcommand so that I could test each option apart, for example wondering from another project (clap 3): https://github.com/s3m/s3m/blob/main/src/bin/s3m.rs, but would like to know ( maybe "idiomatic") way of doing it

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts