template-cli 0.4.4

CLI for templating based on JSON, YAML or HCL configuration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% null | default("default") %}
{% true | default("not") %}
{% false | default("default") %}
{% 1 | default("not") %}
{% -1 | default("not") %}
{% 0 | default("default") %}
{% -0 | default("default") %}
{% 0.0 | default("default") %}
{% 100.0 | default("not") %}
{% -100.0 | default("not") %}
{% "" | default("default") %}
{% "non empty" | default("not") %}
{% [] | default("default") %}
{% [1] | default("not") %}
{% {} | default("default") %}
{% {a:"a"} | default("not") %}
coalesce: {% "x" | coalesce("something") %}
coalesce: {% null | coalesce("something") %}