parse_boolish_environment_variable

Function parse_boolish_environment_variable 

Source
pub fn parse_boolish_environment_variable(
    name: &'static str,
) -> Result<Option<bool>, Error>
Expand description

Parse a boolean environment variable.

Adapted from Clap’s BoolishValueParser which is dual licensed under the MIT and Apache-2.0.