Skip to main content

interpolate_record

Function interpolate_record 

Source
pub fn interpolate_record(
    input: &str,
    ctx: &HashMap<String, Value>,
) -> CliResult<String>
Expand description

Resolve ${id.dotted.path} tokens against ctx. Tokens that look like load-time directives (${env:...}, ${file:...}, ${secret:...}) are left untouched — they should already have been resolved by interpolate.

Errors when an id is unknown or a dotted path does not resolve.