Files
KNELContracts/vendor/git@git.knownelement.com/29418/ExternalVendorCode/mo/demo/sourcing
Charles N Wyble 4b3a20a4ed Add "mustache" from "ssh://git@git.knownelement.com:29418/ExternalVendorCode/mo.git@master"
git-vendor-name: mustache
git-vendor-dir: vendor/git@git.knownelement.com/29418/ExternalVendorCode/mo
git-vendor-repository: ssh://git@git.knownelement.com:29418/ExternalVendorCode/mo.git
git-vendor-ref: master
2025-01-06 14:17:46 -06:00

13 lines
293 B
Bash
Executable File

#!/usr/bin/env bash
#
# This sources a simple script with the env. variables needed for the template.
cd "$(dirname "$0")" # Go to the script's directory
cat <<EOF | ../mo --source=sourcing.vars
Hello, my name is {{NAME}}.
And this is ARRAY's conntents:
{{#ARRAY}}
* {{.}}
{{/ARRAY}}
EOF