pub fn hook_from_command( event: HookEvent, tool_match: &str, command: String, block_on_failure: bool, timeout_secs: Option<u64>, ) -> HookConfig