get_bool

Function get_bool 

Source
pub fn get_bool(args: &[String], name: &str) -> Result<bool, ModCliError>
Expand description

Get a boolean value for --key. If the key is present with no value (i.e., --key), returns true. If provided as --key=value, parses truthy/falsey strings.