clap icon indicating copy to clipboard operation
clap copied to clipboard

A full featured, fast Command Line Argument Parser for Rust

Results 258 clap issues
Sort by recently updated
recently updated
newest added

This is split out of #3732. This will help catch programming mistakes like with us erroring when an undefined argument is used.

C-enhancement
M-breaking-change
A-builder
E-medium

### 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 ### Rust Version rustc 1.58.1 (db9d1b20b 2022-01-20) ### Clap...

C-bug
A-derive
S-waiting-on-design

Maintainer's notes: Below is the original issue that came from misusing clap's API. We could add a debug assert to help guide users to use the API correctly. --- ###...

C-bug
M-breaking-change
A-builder
E-easy

Iiuc the value hint CommandWithArgs for zsh was incorrect when in a positional argument after the first positional argument. I updated the clap_complete/tests/common.rs:value_hint_command accordingly to generate a test case. The...

Maintainer's notes - We can use the field's `Default::default` with `#[clap(default_value_t)]` - Design work is needed for using the container's `Default::default` --- **Issue by [epage](https://github.com/epage)** _Thursday May 03, 2018 at...

C-enhancement
A-derive
S-waiting-on-design

This is a draft PR to represent what it would look like to port an existing project to using `{key}.workspace = true` in its workspace members.

I basically went through the reproducer from https://github.com/clap-rs/clap/issues/1596 and tried to narrow down which characters cause issues in: ``` fn main() { let values = (0u8..128u8) .map(|i| i as char)...

### 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 3.1.9 ### Describe your...

C-enhancement
A-completion

**Issue by [lucab](https://github.com/lucab)** _Monday Apr 01, 2019 at 10:40 GMT_ _Originally opened as https://github.com/TeXitoi/structopt/issues/175_ ---- I have a usecase where a bunch of structures are used by both `serde_derive` and...

C-enhancement
A-derive
S-waiting-on-design

### 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.54.0 ### Clap...

C-bug
A-builder
S-waiting-on-design