Add a simple /bin/sh task

This commit is contained in:
R Tyler Croy 2020-12-31 22:43:07 -08:00
parent b0cb6533c0
commit 46dbe64f5f
1 changed files with 15 additions and 0 deletions

15
tasks/shell/sh.ztask Normal file
View File

@ -0,0 +1,15 @@
task Sh {
parameters {
script {
required = true
help = 'A script to run via the /bin/sh'
type = string
}
}
script {
inline = '''#!/bin/sh
{{script}}
'''
}
}