cf enable
Re-enable the Coding Friend plugin after it has been disabled.
Overview
cf enable re-enables the Coding Friend plugin after it has been disabled with cf disable. The plugin will load again in Claude Code after restarting.
Usage
cf enable # Interactive — asks which scope to enable at
cf enable --user # Enable at user scope (all projects)
cf enable --global # Same as --user
cf enable --project # Enable at project scope
cf enable --local # Enable at local scope
Scopes
| Scope | Flag | Settings file | Effect |
|---|---|---|---|
| User | --user / --global | ~/.claude/settings.json | Enables plugin across all projects |
| Project | --project | .claude/settings.json | Enables plugin for this project |
| Local | --local | .claude/settings.local.json | Enables plugin on this machine |
Read more about Claude Code scopes here.
What It Does
- Checks prerequisites — verifies that the
claudeCLI is available and dev mode is not active - Asks for scope — prompts which scope to enable at (or uses the flag)
- Checks current state — skips if the plugin is already enabled at that scope
- Enables plugin — removes the
enabledPluginsentry for the plugin from the settings file (omitted = enabled)
Under the Hood
cf enable removes the coding-friend@coding-friend-marketplace key from the enabledPlugins object in the settings file. Since omitting a plugin from enabledPlugins means it's enabled by default, this effectively re-enables it.
Restart Claude Code for the change to take effect.