pub fn add_hook( event: &str, command: &str, hook_id: Option<&str>, description: Option<&str>, ) -> Result<String>
Add a new hook for an event.