Registry / cli / clap-v3

clap-v3

JSON →
library3.0.0-beta.1rscratesunverified

A simple to use, efficient, and full-featured Command Line Argument Parser for Rust.

# Cargo.toml [dependencies] clap-v3 = "3.0.0-beta.1"
INSTALL
IMPORT
SIG · CLAP-V3
C
clap-v3
clirustv3.0.0-beta.1
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.

App
use clap::App;

Basic CLI app using clap v3

use clap::App; fn main() { let matches = App::new("myapp") .version("1.0") .about("Does awesome things") .get_matches(); }
Debug
Known issues
breakingBreaking changes from clap v2 to v3: many APIs changed, including App::new() and argument definitions.
fix
Refer to the clap v3 migration guide and update your code accordingly.
affects: >=3.0.0
Upgrade
Version history
3.0.0-beta.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
28
Resources
clap-v3 — cargo add clap-v3 · libregistry