Skip to main content

interpolate_string

Function interpolate_string 

Source
pub fn interpolate_string(s: &str) -> Result<String, Error>
Expand description

Interpolates a string by replacing environment variables.

If an environment variable is referenced but not set, returns Error::EnvVarNotFound.