pub fn read_variable_field_value(value: &str) -> Cow<'_, str>
Expand description

Parse variable value if it is an environment variable

If value is in format ${VAR_NAME} then it will try to read from VAR_NAME environment variable. It will return the original value if fails to read ${VAR_NAME}.