Getting started
Escape
Escape Inventory

 Templates

Escape provides the Mustache templating language and integrates it with the package’s Variables, making for a quick and easy way to render files at either build or deploy time.

Escape Plan

Templates are configured in the Escape Plan under the templates field.

Field Type Description
file string The file containing the template. This field is required.
target string The target location for the rendered template. If the source location specified in file has the .tpl extension this target will default to source location minus that extension.
For example: if file is "hello.txt.tpl" then the default value for target will be "hello.txt"
scopes [string] A list of scopes (build, deploy) that defines during which stage(s) the template should be rendered.
mapping {string:any} This mapping can be used to relate template variables to Escape variables.