feat: implement template plan

This commit is contained in:
2025-02-28 21:21:34 +01:00
parent ef8deadfd8
commit 9be64b74b2
7 changed files with 137 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
plan {
name project
templates type=jinja2 {
path "templates/*.jinja2"
output "output/"
}
scripts {
world type=shell {}
hello type=shell {}
}
}

5
examples/plan/scripts/hello.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env zsh
set -e
echo "hello plan"

5
examples/plan/scripts/world.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env zsh
set -e
echo "hello plan world"

View File

@@ -0,0 +1,3 @@
something plan
val is mapping: {{ global.someKey.some.key.val is mapping }}

View File

@@ -0,0 +1,3 @@
something plan
val is mapping: {{ global.someKey.some.key.val is mapping }}