epage / clapng

A full featured, fast Command Line Argument Parser for Rust
docs.rs/clap
Apache License 2.0
0 stars 0 forks source link

Stablize `App::replace` Tracking Issue #212

Open epage opened 2 years ago

epage commented 2 years ago

Issue by epage Saturday Oct 09, 2021 at 15:42 GMT Originally opened as https://github.com/clap-rs/clap/issues/2836


Original request: #1603

Original PR: https://github.com/clap-rs/clap/pull/1697

Feature flag: unstable-replace

Known issues:

epage commented 2 years ago

Comment by pksunkara Saturday Oct 09, 2021 at 15:43 GMT


We should link implementation also, right?

epage commented 2 years ago

Comment by epage Saturday Oct 09, 2021 at 15:46 GMT


Works for me.

epage commented 2 years ago

Comment by pksunkara Tuesday Oct 26, 2021 at 20:42 GMT


So -l expands to --source list and -r expands to --target residues?

The unstable replace feature gets you part way. It would allow a -l to expand out but it wouldn't allow -lr.

Another issue with this feature as the use case is documented here