pub fn parse_event(raw: &[u8]) -> Result<HookEvent, String>
Parse raw stdin bytes into a normalized HookEvent.
HookEvent