MCPcopy Create free account
hub / github.com/cloudgraphdev/cli / run

Method run

src/commands/provider/remove.ts:26–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 static hidden = false
25
26 async run(): Promise<void> {
27 try {
28 const {
29 manager,
30 noSave = false,
31 plugins: pluginsRemoved = [],
32 } = await this.remove(PluginType.Provider)
33
34 for (const key of pluginsRemoved) {
35 if (manager && !noSave) {
36 manager.removeFromLockFile(key)
37 }
38 }
39 } catch (error) {
40 this.logger.stopSpinner()
41 }
42 }
43}

Callers

nothing calls this directly

Calls 1

removeFromLockFileMethod · 0.80

Tested by

no test coverage detected