Registry / cli / getargs

getargs

JSON →
library0.5.0rscratesunverified

A truly zero-cost argument parser for Rust.

# Cargo.toml [dependencies] getargs = "0.5.0"
INSTALL
IMPORT
SIG · GETARGS
G
getargs
clirustv0.5.0
harness data pending
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.

Args
✓ use getargs::Args;

Parse command-line arguments with zero overhead.

use getargs::Args; fn main() { let mut args = Args::from_env(); while let Some(arg) = args.next() { println!("{}", arg); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
21
Resources
getargs — cargo add getargs · libregistry