Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2020-11-04 22:33:14 +0300
committernlf <quitlahok@gmail.com>2020-11-04 22:33:14 +0300
commit30e61c9d80dfa01d68762187ea598e46b8e81856 (patch)
tree3a7d3928a83b14d31c009a13a92014054c88fb9a
parent65fe2ffb8a85964a682e5c7422b3d3dc4121e02d (diff)
cache: add verify to completions
-rw-r--r--lib/cache.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js
index bf788043a..a3948e90d 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -22,10 +22,11 @@ const usage = usageUtil('cache',
const completion = (opts, cb) => {
const argv = opts.conf.argv.remain
if (argv.length === 2)
- return cb(null, ['add', 'clean'])
+ return cb(null, ['add', 'clean', 'verify'])
// TODO - eventually...
switch (argv[2]) {
+ case 'verify':
case 'clean':
case 'add':
return cb(null, [])