pub fn execute_steps(
steps: &[Step],
ctx: Context,
process: &dyn ProcessExec,
notifier: &dyn Notifier,
prompter: &mut dyn Prompter,
eval_predicate: &dyn Fn(&str, &Context) -> bool,
) -> Result<RunReport, RunnerError>Expand description
Execute a slice of steps with the given execution context and injected dependencies.
Returns a RunReport on success. If any step fails with on_fail = "abort" (the default), execution stops and the error is returned.