Skip to main content

hook_from_command

Function hook_from_command 

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