Execute (Shell & JavaScript)
Action Handler: Shell Command
exec:
# executable to invoke
command: 'echo'
# additional executable arguments, note "command" cannot have arguments in its value, just executable alias or path to it
args:
- 'test'
# [optional] working directory to run command from.
# Default value: flow's folder
wd: <%- cwd %>
# [optional] options
options:
# [optional] if provided "stdout" will be included inside assigned object to proviced "ctx" and/or "secrets" name
stdout: true
# [optional] if provided "stderr" will be included inside assigned object to proviced "ctx" and/or "secrets" name
stderr: true
# [optional] if provided - stdout and stderr will be logged in report and printed to console
verbose: false
# [optional] assign execution result {code: 0-255, stdout?: string, stderr?: string }
assignResultTo: # follows common assignment logic practicies https://fbl.fireblink.com/plugins/common#assign-to
# [optional] push execution result {code: 0-255, stdout?: string, stderr?: string }
pushResultTo: # follows common push logic practicies https://fbl.fireblink.com/plugins/common#push-toAction Handler: Shell Script
Action Handler: Function
Last updated
Was this helpful?