pub fn matches_hook(
matcher: &Option<String>,
tool_name: &str,
args: &Value,
) -> boolExpand description
Returns true if input_tool / args satisfy the given matcher pattern.
Nonepattern matches everything."run_shell"matches only that tool name."run_shell(git *)"matchesrun_shellwithcommandstarting with"git ".