feat(templates): adds arbitrary shell execution and pda-getting

This commit is contained in:
Lewis Wynne 2026-02-12 23:28:19 +00:00
parent 2ca32769d5
commit f9ff2c0d62
8 changed files with 139 additions and 11 deletions

5
testdata/template-shell.ct vendored Normal file
View file

@ -0,0 +1,5 @@
# Shell function executes a command and returns stdout
$ fecho tpl1 {{ shell "echo hello" }}
$ pda set shelltest@tpls < tpl1
$ pda get shelltest@tpls
hello