get_int

Function get_int 

Source
pub fn get_int<T>(args: &[String], name: &str) -> Result<T, ModCliError>
where T: FromStr,
Expand description

Get an integer value for --key. Returns ModCliError::InvalidUsage on parse failure.