pub fn start_cli() -> (String, i32, String, i32, String) {
    let cli = create_matchers();

    let ip = cli.value_of("ip").unwrap();
    let port = cli.value_of("port").unwrap().parse::<u32>().unwrap();
    let dir = cli.value_of("dir").unwrap();
    let threads = cli.value_of("threads").unwrap().parse::<u32>().unwrap();
    let type_ = cli.value_of("type").unwrap();

    (ip.to_string(),
     port as i32,
     dir.to_string(),
     threads as i32,
     type_.to_string())
}
/// Starts the CLI and returns:
/// - the address for the server to listen on
/// - the directory the server should serve
/// - the number of threads the thread pool should have
Starts the CLI and returns:
the address for the server to listen on
the directory the server should serve
the number of threads the thread pool should have
Starts the CLI and returns : the address for the server to listen on the directory the server should serve the number of threads the thread pool should have
pub fn start_cli() -> (String, i32, String, i32, String) {
    let cli = create_matchers();
    let ip = cli.value_of("ip").unwrap();
    let port = cli.value_of("port").unwrap().parse::<u32>().unwrap();
    let dir = cli.value_of("dir").unwrap();
    let threads = cli.value_of("threads").unwrap().parse::<u32>().unwrap();
    let type_ = cli.value_of("type").unwrap();
    (ip.to_string(),
     port as i32,
     dir.to_string(),
     threads as i32,
     type_.to_string())
}
pub fn start_cli ( ) -> ( String , i32 , String , i32 , String ) { let cli = create_matchers ( ) ; let ip = cli . value_of ( " " ) . unwrap ( ) ; let port = cli . value_of ( " " ) . unwrap ( ) . parse :: < u32 > ( ) . unwrap ( ) ; let dir = cli . value_of ( " " ) . unwrap ( ) ; let threads = cli . value_of ( " " ) . unwrap ( ) . parse :: < u32 > ( ) . unwrap ( ) ; let type_ = cli . value_of ( " " ) . unwrap ( ) ; ( ip . to_string ( ) , port as i32 , dir . to_string ( ) , threads as i32 , type_ . to_string ( ) ) }
Starts the CLI and returns:
 the address for the server to listen on
 the directory the server should serve
 the number of threads the thread pool should have
Starts the CLI and returns : the address for the server to listen on the directory the server should serve the number of threads the thread pool should have