Ed Page
Ed Page
I'm going to assume this is resolved. If there is anything else remaining for this, let us know!
This also ties into - https://github.com/clap-rs/clap/issues/2683 - #1717 - Existing key-value handling which we wouldn't want to break
> It's been a long time (since Sep 2019) and this should be considered. I can understand the desire for this but it unfortunately isn't a priority. Before, the focus...
The relevant calls are roughly [`_do_parse`](https://github.com/clap-rs/clap/blob/master/src/builder/command.rs#L3733) - [`validate`](https://github.com/clap-rs/clap/blob/master/src/parser/validator.rs#L23) via `get_matches_with` which is what checks for required args and sets defaults - [`propagate_globals`](https://github.com/clap-rs/clap/blob/4887695aca79e35480a88ca0f2c745084e7b9273/src/parser/arg_matcher.rs#L45) Naively swapping the calls around would probably affect...
> I also saw you guys were on opencollective. Can I open a bounty on this issue? Probably? Previous maintainers were the ones mostly dealing with that; I have little...
#3022 was a tipping point for me in realizing that maybe our current approach to completions doesn't work. We effectively have to implement a mostly-untested parser within each shell. Examples...
The first step is pulling out the lexer for reuse in the completions. I'm working on that now. Once thats in a good enough state, I can pull it out...
@AndreasBackx I've got the start for #3166 in #3656. Once I have it merged, want to take over flushing it out so it sufficient for existing shell completions (cargo's handwritten...
Whats happening is that the derive will implicitly convert field names from snake_case to kebab-case. This is what is dropping the characters and is why an explicit `long` works. For...
I just ported the example code to clap3 and it seems to work for me ```rust fn main() { let m = parser().get_matches(); dbg!(m.is_present("prog-flag")); dbg!(m .values_of("EXECUTABLE") .unwrap_or_default() .collect::()); dbg!(m.values_of("ARGS").unwrap_or_default().collect::()); }...