Pass arguments to function as environment variable MO_ARGS

This commit is contained in:
Andrea Bonomi
2019-08-07 14:59:00 +02:00
parent eac2685632
commit fcedd32155
4 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
No args: [{{testArgs}}] - done
One arg: [{{testArgs one}}] - done
Multiple arguments: [{{testArgs aa bb cc 'x' " ! {[_.| }}] - done
Evil: [{{testArgs bla; cat /etc/issue}}] - done