Skip to main content

parse

Function parse 

Source
pub fn parse() -> Args
Expand description

Build the Args object associated with the arguments that the program was started with.

ยงExample:
let args = valargs::parse();
if args.has_option("nevergonnaletyoudown") {
    println!("got rickrolled");
}