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

### Feature Request Summary I would like to exclude some subcommands from the generated shell completion. For example, the command to generate those completions is usually only used during installation...

C-bug
A-completion
E-help-wanted
E-easy

Maintainer's notes: Remaining work for feature parity - [x] Communicate with bash (#3656) - [x] Complete path `ValueHint`s (#3656) - [x] Complete possible values (#3656) - [x] Complete short flags...

C-enhancement
E-medium
A-completion
E-help-wanted
C-tracking-issue

We shouldn't offer hidden options by default but complete them if the user starts typing them See #3166 for more details on native completions - [code](https://github.com/clap-rs/clap/blob/master/clap_complete/src/dynamic.rs) - [tests](https://github.com/clap-rs/clap/blob/master/clap_complete/tests/dynamic.rs)

C-enhancement
A-completion
E-help-wanted
E-easy
:money_with_wings: $20

Before this patch when running into errors due to `args_conflicts_with_subcommands`, you'd get an output looking like this: ``` error: The subcommand 'auth' wasn't recognized Did you mean 'auth'? ``` This...

Maintainer's notes - Proposed fix is to add a `App::env_prefix` and `Arg::env_prefix` and is modeled after `help_heading` - `App::env_prefix`applies to all future `Arg`s and is set during `.arg()` - An...

C-enhancement
E-medium
A-derive

Maintainer's notes - Deriving `Args` on an enum would create a `ArgGroup::new("T")::multiple(false)` - More builder methods can be accessed via `#[group(...)]` (split out as #4574) - We need to ensure...

C-enhancement
E-hard
E-help-wanted
A-derive
:money_with_wings: $20

### 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 1.60 ### Clap Version...

C-bug
S-waiting-on-decision
A-parsing

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

C-enhancement
M-breaking-change

### 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.62.0 (a8314ef7d 2022-06-27)...

C-bug
A-parsing
S-wont-fix

Maintainer's notes We should document each solution (flag, subcommand, env var) and the trade offs. We should probably make env variable the default. --- ### Discussed in https://github.com/clap-rs/clap/discussions/3926 Originally posted...

C-enhancement
A-docs
A-completion
E-easy