Skip to main content

install_post

Function install_post 

Source
pub fn install_post(
    existing: Option<&str>,
    command: &str,
) -> Result<(String, bool), String>
Expand description

Install the PostToolUse recorder (--measure) as a single * matcher running command, so every executed call is logged for effectiveness analysis. Idempotent, comment-preserving, and independent of the PreToolUse steering hook.