clap
clap copied to clipboard
A full featured, fast Command Line Argument Parser for Rust
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues ### Clap Version 4.3.19 ### Describe your...
As per the title, [`ContextKind::Custom`](https://github.com/clap-rs/clap/blob/1f022b83958334241c47de10195a2a502d99d81b/clap_builder/src/error/context.rs#L62) is currently useless as nothing ever reads it. I expected it to be used in a similar way to [`ContextKind::Usage`](https://github.com/clap-rs/clap/blob/master/clap_builder/src/error/format.rs#L118-L121), in that it could be...
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues ### Rust Version rustc 1.73.0-nightly (4c8bb79d9 2023-07-15)...
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues ### Rust Version rustc 1.71.0 (8ede3aae2 2023-07-12)...
As brought up in #4600 and #3661, there are cases where it would be nice to support additional types with special semantics for clap_derive fields. However, doing so for any...
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues ### Rust Version `rustc 1.72.0-nightly (f20afcc45 2023-07-04)`...
### Please complete the following tasks - [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions) - [X] I have searched the existing issues ### Clap Version 3.0.0-beta.4 ### Describe your use case...
This PR fixes [the vulnerability RUSTSEC-2023-0044](https://rustsec.org/advisories/RUSTSEC-2023-0044) in openssl crate. This is the report from `cargo audit`: ``` Crate: openssl Version: 0.10.52 Title: `openssl` `X509VerifyParamRef::set_host` buffer over-read Date: 2023-06-20 ID: RUSTSEC-2023-0044...
While using the `deno` CLI (which uses clap) I experienced the following: ``` $ deno check --write-lock error: unexpected argument '--write-lock' found tip: a similar argument exists: '--no-lock' ``` The...
While using the `deno` CLI (which uses clap) I experienced the following: ``` $ deno check --write-lock error: unexpected argument '--write-lock' found tip: a similar argument exists: '--no-lock' ``` The...