fn create_matchers() -> ArgMatches<'static> {
    return App::new("Penetrator")
        .version("0.1.0")
        .author("Jörg S, Julian Z")
        .about("A simple website penetrator / performance tester")
        .arg(Arg::with_name("url")
            .required(true)
            .long("url")
            .value_name("URL")
            .validator(|value| valid_url(value))
            .help("The url the penetrator will send requests to")
            .takes_value(true))
        .arg(Arg::with_name("num")
            .required(false)
            .long("number_of_requests")
            .default_value("10")
            .value_name("NUM")
            .validator(|value| valid_num(value))
            .help("The number of requests to be sent")
            .takes_value(true))
        .get_matches();
}
/// Creates the required CLI parser.
Creates the required CLI parser.
Creates the required CLI parser .
fn create_matchers() -> ArgMatches<'static> {
    return App::new("Penetrator")
        .version("0.1.0")
        .author("Jörg S, Julian Z")
        .about("A simple website penetrator / performance tester")
        .arg(Arg::with_name("url")
            .required(true)
            .long("url")
            .value_name("URL")
            .validator(|value| valid_url(value))
            .help("The url the penetrator will send requests to")
            .takes_value(true))
        .arg(Arg::with_name("num")
            .required(false)
            .long("number_of_requests")
            .default_value("10")
            .value_name("NUM")
            .validator(|value| valid_num(value))
            .help("The number of requests to be sent")
            .takes_value(true))
        .get_matches();
}
fn create_matchers ( ) -> ArgMatches < ' static > { return App :: new ( " " ) . version ( " " ) . author ( " ) . about ( " " ) . arg ( Arg :: with_name ( " " ) . required ( true ) . long ( " " ) . value_name ( " " ) . validator ( | value | valid_url ( value ) ) . help ( " " ) . takes_value ( true ) ) . arg ( Arg :: with_name ( " " ) . required ( false ) . long ( " " ) . default_value ( " " ) . value_name ( " " ) . validator ( | value | valid_num ( value ) ) . help ( " " ) . takes_value ( true ) ) . get_matches ( ) ; }
Creates the required CLI parser.
Creates the required CLI parser .