Registry / cli / bpaf
library0.9.25rscratesunverified

A simple command-line argument parser using parser combinators.

# Cargo.toml [dependencies] bpaf = "0.9.25"
INSTALL
IMPORT
SIG · BPAF
B
bpaf
clirustv0.9.25
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.

Parser
use bpaf::Parser;

Parse a positional argument from the command line.

use bpaf::Parser; fn main() { let name = bpaf::positional::<String>("NAME") .to_options() .run(); println!("Hello, {}!", name); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.25latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
OpenAI (training)
1
Resources