feat(templates): adds arbitrary shell execution and pda-getting
This commit is contained in:
parent
2ca32769d5
commit
f9ff2c0d62
8 changed files with 139 additions and 11 deletions
5
testdata/template-shell.ct
vendored
Normal file
5
testdata/template-shell.ct
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue