docs: Document exec function

This commit is contained in:
adnano 2021-05-22 20:48:21 -04:00
parent 40322facd2
commit 5f80d73a75

View file

@ -398,6 +398,10 @@ All templates have the following functions available to them:
*eq* _arg1_, _arg2_ *eq* _arg1_, _arg2_
Returns the boolean truth of _arg1_ == _arg2_. Returns the boolean truth of _arg1_ == _arg2_.
*exec* _command_, _input_
Executes the given external command with _input_ provided as standard input.
Returns its standard output.
*ge* _arg1_, _arg2_ *ge* _arg1_, _arg2_
Returns the boolean truth of _arg1_ >= _arg2_. Returns the boolean truth of _arg1_ >= _arg2_.