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-pda-ref-err.ct
vendored
Normal file
5
testdata/template-pda-ref-err.ct
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# pda errors on missing key
|
||||
$ fecho tpl1 {{ pda "missing" }}
|
||||
$ pda set ref@tplre < tpl1
|
||||
$ pda get ref@tplre --> FAIL
|
||||
FAIL cannot get 'ref@tplre': pda: cannot get 'missing': no such key
|
||||
Loading…
Add table
Add a link
Reference in a new issue