Registry / cli / clap-num

clap-num

JSON →
library1.2.0rscratesunverified

Number parsers for clap command-line argument parser.

cli
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use clap_num::number;

Defines a CLI argument that parses a u32 number using clap-num's number parser.

use clap::Parser; use clap_num::number; #[derive(Parser)] struct Args { #[arg(short, long, value_parser = number::<u32>)] count: u32, } let args = Args::parse(); println!("Count: {}", args.count);
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
ahrefsbot
1
Resources