MCPcopy Create free account
hub / github.com/npm/cli / completion

Method completion

lib/commands/rebuild.js:28–31  ·  view source on GitHub ↗
(opts, npm)

Source from the content-addressed store, hash-verified

26 static usage = ['[<package-spec>] ...]']
27
28 static async completion (opts, npm) {
29 const completion = require('../utils/installed-deep.js')
30 return completion(npm, opts)
31 }
32
33 async exec (args) {
34 const globalTop = resolve(this.npm.globalDir, '..')

Callers

nothing calls this directly

Calls 1

completionFunction · 0.50

Tested by

no test coverage detected