A rule that performs template expansion.

## expand_template

load("@bazel_skylib//rules:expand_template.bzl", "expand_template")

expand_template(name, out, substitutions, template)

Template expansion

This performs a simple search over the template file for the keys in
substitutions, and replaces them with the corresponding values.

There is no special syntax for the keys. To avoid conflicts, you would need to
explicitly add delimiters to the key strings, for example "{KEY}" or "@KEY@".

**ATTRIBUTES**

| Name  | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name |  A unique name for this target.   | Name (https://bazel.build/concepts/labels#target-names) | required |  |
| out |  The destination of the expanded file.   | Label (https://bazel.build/concepts/labels); nonconfigurable (https://bazel.build/reference/be/common-definitions#configurable-attributes) | required |  |
| substitutions |  A dictionary mapping strings to their substitutions.   | Dictionary: String -> String (https://bazel.build/rules/lib/dict) | required |  |
| template |  The template file to expand.   | Label (https://bazel.build/concepts/labels) | required |  |

