without autoescape

This commit is contained in:
2022-08-14 20:19:29 +02:00
parent 49089b3074
commit 319360968b
17 changed files with 1083 additions and 332 deletions

View File

@@ -0,0 +1,14 @@
# yaml-language-server: $schema=../../schemas/base.json
base: false
vars:
service: "some-service"
scripts:
test_render_template:
type: shell
args:
extravar:
type: env
key: "HOME"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
CUDDLE_FETCH_POLICY=never cuddle_cli render_template \
--template-file "$TMP/input.txt.tmpl" \
--destination "$TMP/input.txt" \
--extra-var "extravar=someextravar"

View File

@@ -0,0 +1,3 @@
some {{ service }} name
- {{ extravar }}