These are chat archives for kbknapp/clap-rs

11th
Jan 2018
Kevin K.
@kbknapp
Jan 11 2018 17:12
Do you mean, something like get_matches_from("program --foo=bar baz -q -U -x")?
If so, not exactly, but get_matches_from accepts a Vec so you could write "program --foo=bar baz -q -U -x".split_whitespace().collect::<Vec<_>>() (or a function to do that for you) and pass that to get_matches_from