Registry / cli / clap-cargo

clap-cargo

JSON →
library0.18.3rscratesunverified

Re-usable CLI flags for cargo plugins, built on top of clap.

# Cargo.toml [dependencies] clap-cargo = "0.18.3"
INSTALL
IMPORT
SIG · CLAP-CARGO
C
clap-cargo
clirustv0.18.3
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.

Cargo
✓ use clap_cargo::Cargo;

Define a CLI with cargo-specific flags using clap_cargo.

use clap_cargo::Cargo; use clap::Parser; #[derive(Parser)] struct Args { #[command(flatten)] cargo: Cargo, } let args = Args::parse(); println!("Cargo args: {:?}", args.cargo);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.18.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
clap-cargo — cargo add clap-cargo · libregistry