clap
clap copied to clipboard
A full featured, fast Command Line Argument Parser for Rust
Original request: #1603 Original PR: https://github.com/clap-rs/clap/pull/1697 Feature flag: `unstable-replace` Known issues: - [ ] https://github.com/clap-rs/clap/issues/2011 - [ ] No presence in `--help`
### 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 master ### Describe your use case...
### 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.7 ### Describe your use case...
### 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.58.1 (db9d1b20b 2022-01-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 ### Clap Version 3.1.13 ### Describe your...
### Feature Request Summary Would it be possible to split clap argument parsing logic into a `no_std` "clap_core" crate or allow crates to toggle a `no_std` style feature. This would...
[](https://issuehunt.io/r/clap-rs/clap/issues/1794) ### Rust Version `rustc 1.42.0 (b8cedc004 2020-03-09)` ### Code ```rust use clap; use clap::Arg; use clap::ArgGroup; fn main() { let app = clap::App::new("hello") .bin_name("deno") .arg( Arg::with_name("option1") .long("option1") .takes_value(false), )...
Maintainers notes: - Assuming this is custom completion on top of clap-driven completion, this is blocked on #3166 - Open question: does the completion function accept just the arg and...
Transferred from: https://github.com/TeXitoi/structopt/issues/349 It would be even better if fixed sized arrays or tuples with different value types would be supported directly: ```rust #[derive(Clap)] struct Args { #[clap(long)] range: [u32;...
### 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.0-nightly (8b09ba6a5 2021-11-09) ### Clap...