clap number parsers.
This crate contains functions to validate and parse numerical values from strings provided by [clap].
This example allow values for --frequency
between 800 Hz and 3.333 MHz,
with SI symbols.
```rust use clap::Parser; use clapnum::sinumber_range;
fn parsefrequency(s: &str) -> Result
struct Args {
#[clap(short, long, parse(tryfromstr=parse_frequency))]
frequency: Option
let args = Args::parse(); println!("{:?}", args); ```