pub fn execute_hook(
hook: &Hook,
process: &dyn ProcessExec,
notifier: &dyn Notifier,
prompter: &mut dyn Prompter,
eval_predicate: &dyn Fn(&str, &Context) -> bool,
) -> Result<RunReport, RunnerError>Expand description
Execute a Hook as a single-step equivalent.
The hook’s run field maps to a run-kind step with the hook’s
ignore_failure and r#if applied.