MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / disableAllPlugins

Function disableAllPlugins

src/services/plugins/pluginCliCommands.ts:269–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267 * CLI command: Disable all enabled plugins non-interactively
268 */
269export async function disableAllPlugins(): Promise<void> {
270 try {
271 const result = await disableAllPluginsOp()
272
273 if (!result.success) {
274 throw new Error(result.message)
275 }
276
277 console.log(`${figures.tick} ${result.message}`)
278
279 logEvent('tengu_plugin_disabled_all_cli', {})
280
281 // eslint-disable-next-line custom-rules/no-process-exit
282 process.exit(0)
283 } catch (error) {
284 handlePluginCommandError(error, 'disable-all')
285 }
286}
287
288/**
289 * CLI command: Update a plugin non-interactively

Callers 1

pluginDisableHandlerFunction · 0.85

Calls 3

disableAllPluginsOpFunction · 0.85
logEventFunction · 0.85
handlePluginCommandErrorFunction · 0.85

Tested by

no test coverage detected