These are chat archives for kbknapp/clap-rs

23rd
May 2017
Ben Batha
@bbatha
May 23 2017 22:15
I folks, I was wondering if clap supports pass through arguments, e.g. cargo test -- --nocapture where the -- --nocapture is uninterpreted and passed to the test harness
Niklas Claesson
@NickeZ
May 23 2017 22:17
you can use .allow_hyphen_values(true)
or .last (I think)
@bbatha we have something similar in alacritty: https://github.com/jwilm/alacritty/blob/master/src/cli.rs
Ben Batha
@bbatha
May 23 2017 22:19
Awesome that'll get me started. Thanks
Niklas Claesson
@NickeZ
May 23 2017 22:19
no problem!
Kevin K.
@kbknapp
May 23 2017 23:31
@bbatha it also supports -- natively
There are a few other AppSettings that could help too depending on your specific use case
Also thanks @NickeZ thanks for the quick response too ;)