hcl_edit::parser

Function parse_template

Source
pub fn parse_template(input: &str) -> Result<Template, Error>
Expand description

Parse an input into a Template.

ยงErrors

Returns an error if the input does not resemble a valid HCL template.