pub fn disable(frameworks: &[&str]) -> Result<DisableResult, EnableError>Expand description
Disable mi6 hooks for AI coding frameworks.
This removes mi6 hooks from the specified frameworks’ configuration files. For plugin-based frameworks (like Claude Code), this removes the plugin directory. If no frameworks are specified, it will auto-detect installed frameworks that have mi6 hooks enabled.
§Example
ⓘ
use mi6_core::{InitOptions, disable};
// Disable all frameworks with mi6 hooks
let result = disable(&[])?;
// Disable specific framework
let result = disable(&["claude"])?;