MCPcopy Index your code
hub / github.com/cloudgraphdev/cli / removePlugin

Method removePlugin

src/manager/index.ts:274–284  ·  view source on GitHub ↗
(plugin: string)

Source from the content-addressed store, hash-verified

272 }
273
274 async removePlugin(plugin: string): Promise<void> {
275 const { importPath } = this.getImportPath(plugin)
276 try {
277 await this.pluginManager.uninstall(importPath)
278 } catch (error: any) {
279 this.logger.error(
280 `There was an error uninstalling ${this.pluginType} ${plugin}`
281 )
282 this.logger.debug(error)
283 }
284 }
285}
286
287export default Manager

Callers 1

removeFunction · 0.80

Calls 2

getImportPathMethod · 0.95
uninstallMethod · 0.80

Tested by

no test coverage detected