MCPcopy Index your code
hub / github.com/codeaashu/claude-code / disableAllPlugins

Function disableAllPlugins

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

Source from the content-addressed store, hash-verified

273 * CLI command: Disable all enabled plugins non-interactively
274 */
275export async function disableAllPlugins(): Promise<void> {
276 try {
277 const result = await disableAllPluginsOp()
278
279 if (!result.success) {
280 throw new Error(result.message)
281 }
282
283 // biome-ignore lint/suspicious/noConsole:: intentional console output
284 console.log(`${figures.tick} ${result.message}`)
285
286 logEvent('tengu_plugin_disabled_all_cli', {})
287
288 // eslint-disable-next-line custom-rules/no-process-exit
289 process.exit(0)
290 } catch (error) {
291 handlePluginCommandError(error, 'disable-all')
292 }
293}
294
295/**
296 * 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