pub fn req(args: &[String], i: &mut usize) -> Result<String>
Read the next argv token after a flag (e.g. --weights path).
--weights path