pub fn take_value<I: Iterator<Item = String>>( flag: &str, it: &mut I, ) -> Result<String>
Fetch the next token value for a flag from any iterator over Strings. Returns anyhow::Error when value is missing.