zap/tasks/echo.ztask

19 lines
328 B
Plaintext

/*
* The echo test takes a string and just uses the shell `echo` on the target
* to echo it back
*/
task Echo {
parameters {
msg {
required = true
help = 'String to echo back to the client'
type = string
}
}
script {
inline = 'echo "{{msg}}"'
}
}