Skip to main content

run_enable

Function run_enable 

Source
pub fn run_enable(
    project_root: &Path,
    home: &Path,
    opts: &ToggleOpts,
) -> Result<String, CliError>
Expand description

Turn a disabled install back on. Re-adds the MCP entry, the two Claude Code hooks and the git hook blocks using the store a stashed entry named and the command install would resolve right now — not a replay of what disable took out, which may no longer be the fastest path to the published package. Idempotent, and a no-op (not an error) when the install is not disabled.