These are chat archives for kbknapp/clap-rs

5th
Feb 2019
Jearvon Dharrie
@iamjarvo
Feb 05 18:51
This might be a silly question, I am new to Rust. it seems MatchedArg is in a private module. I have a function get_username(cli: &ArgMatches) so to test the function I would like to make a ArgMatches struct. the issue is the args field in ArgMatches expects MatchedArg. Should matched arg be private or am I thinking of this incorrectly?