pub fn build_env(event: HookEvent, ctx: &HookContext) -> Vec<(String, String)>Expand description
Build the (key, value) env vars handed to the hook child:
ENTRACTE_EVENT, ENTRACTE_KIND, ENTRACTE_DURATION_SECS,
ENTRACTE_OUTCOME. Missing fields are empty strings so consumers
can shell-test them uniformly.