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

Method completion

lib/commands/update.js:39–42  ·  view source on GitHub ↗
(opts, npm)

Source from the content-addressed store, hash-verified

37 static usage = ['[<pkg>...]']
38
39 static async completion (opts, npm) {
40 const completion = require('../utils/installed-deep.js')
41 return completion(npm, opts)
42 }
43
44 async exec (args) {
45 const update = args.length === 0 ? true : args

Callers

nothing calls this directly

Calls 1

completionFunction · 0.50

Tested by

no test coverage detected