Skip to main content

uninstall

Function uninstall 

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

Remove every steering hook (PreToolUse steer and PostToolUse recorder) from existing settings text, pruning emptied matcher entries and the hooks containers when they end up empty. Comments and layout elsewhere are preserved.