Example:

```rust use rargsxd::*;

let args = vec!("testword".tostring(), "--testflag".tostring(), "-o".tostring(), "monke".tostring()); let mut parser = ArgParser::new("programlol"); parser.author("BubbyRoosh") .version("0.1.0") .copyright("Copyright (C) 2021 BubbyRoosh") .info("Example for simple arg parsing crate OwO") .requireargs(true) .args( vec!( Arg::new("testflag") .short('t') .help("This is a test flag.") .flag(false), Arg::new("testoption") .short('o') .help("This is a test option.") .option("option"), Arg::new("testword") .help("This is a test option.") .word(WordType::Boolean(false)), ) ).parse_vec(args); // .parse() uses std::env::args() so the args vec won't need to be passed.

assert!(parser.getflag("testflag").unwrap()); assert!(parser.getword("testword").unwrap().asbool().unwrap()); asserteq!(parser.get_option("testoption").unwrap(), "monke"); ```