Skip to main content

envsubst

Function envsubst 

Source
pub fn envsubst(text: &str) -> Result<String>
Available on crate feature std only.
Expand description

Substitute ${NAME} with the environment variable WDS_NAME.

Fails when a referenced variable is not set, matching the reference implementation’s assertion.