Schedule expressions to run
Usage
cmd_on_start(command, ...)
cmd_on_exit(command, ...)
cmd_on_fail(command, ...)
cmd_on_succeed(command, ...)
Arguments
- command
A
command
object.- ...
The expressions input will be captured with
enquos()
. If your expressions depend on global data, you may want to unquote objects with!!
to prevent unintended changes due to delayed evaluation.cmd_on_start
: Expression to be evaluated when the command started.cmd_on_exit
: Expression to be evaluated when the command finished.cmd_on_fail
: Expression to be evaluated when the command failed.cmd_on_succeed
: Expression to be evaluated when the command succeeded.