pub fn clean_config_yaml(body: &str) -> CliResult<String>Available on crate feature
templates only.Expand description
Strip comments from a stored template body and re-emit it as canonical YAML.
serde_yaml parses JSON too (JSON ⊂ YAML), so a JSON-format template
normalizes to YAML as well; ${param.*} tokens are plain strings and pass
through unchanged. A pure view transform — it never mutates the stored body.
Shared by faucet template show --clean and the serve ?clean=true endpoint.