MCPcopy Create free account
hub / github.com/WJX20/claude-code / enablePluginOp

Function enablePluginOp

src/services/plugins/pluginOperations.ts:757–762  ·  view source on GitHub ↗
(
  plugin: string,
  scope?: InstallableScope,
)

Source from the content-addressed store, hash-verified

755 * @returns Result indicating success/failure
756 */
757export async function enablePluginOp(
758 plugin: string,
759 scope?: InstallableScope,
760): Promise<PluginOperationResult> {
761 return setPluginEnabledOp(plugin, true, scope)
762}
763
764/**
765 * Disable a plugin

Callers 4

handleSingleOperationFunction · 0.85
ManagePluginsFunction · 0.85
checkAndInstallFunction · 0.85
enablePluginFunction · 0.85

Calls 1

setPluginEnabledOpFunction · 0.85

Tested by

no test coverage detected