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

get.js « lib - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8dc805ec560c318b24c98637aeb3504552a7cdcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12

module.exports = get

get.usage = 'npm get <key> <value> (See `npm config`)'

var npm = require('./npm.js')

get.completion = npm.commands.config.completion

function get (args, cb) {
  npm.commands.config(['get'].concat(args), cb)
}