pub fn parse(text: &str) -> Result<Vec<HookDef>, String>
Every [hooks.<name>] of the configuration text, by name.
[hooks.<name>]
text
A HOOK-MISCONFIGURED message naming the hook and the fix.
HOOK-MISCONFIGURED