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
2
testdata/template-require-err.ct
vendored
2
testdata/template-require-err.ct
vendored
|
|
@ -2,4 +2,4 @@
|
|||
$ fecho tpl {{ require .FILE }}
|
||||
$ pda set tmpl@tplr < tpl
|
||||
$ pda get tmpl@tplr --> FAIL
|
||||
FAIL cannot get 'tmpl@tplr': template: cmd:1:3: executing "cmd" at <require .FILE>: error calling require: required value is missing or empty
|
||||
FAIL cannot get 'tmpl@tplr': required value is missing or empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue