Skip to main content

env_var_name

Function env_var_name 

Source
pub fn env_var_name(prefix: &str, flag: &str) -> String
Expand description

Compute the env var name corresponding to a flag, using the same derivation as apply_env_for_flag. Exposed so callers can include the resolved name in error messages without repeating the rule.