#short #blah #optz

optz

A no-magic option parser for Rust

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 29, 2025

#7 in #short

MIT license

7KB
206 lines

optz

A no-magic option parser for Rust.

Usage

use optz::{Opt, Optz};

let opts = Optz::new("myapp")
  .option(
    Opt::new("blah")
      .description("An operation that performs blah")
      .short("-b"))
  .parse();

Dependencies

~140KB