Skip to main content

add_hook

Function add_hook 

Source
pub fn add_hook(
    event: &str,
    command: &str,
    hook_id: Option<&str>,
    description: Option<&str>,
) -> Result<String>
Expand description

Add a new hook for an event.