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

get.js « lib « npm « deps - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ab2141e35721ae5392f5435f07f9f0ce6b869b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const npm = require('./npm.js')
const usageUtil = require('./utils/usage.js')

const usage = usageUtil(
  'get',
  'npm get [<key> ...] (See `npm config`)'
)

const completion = npm.commands.config.completion

const cmd = (args, cb) =>
  npm.commands.config(['get'].concat(args), cb)

module.exports = Object.assign(cmd, { usage, completion })