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: f8e23b49fc0ce4408ab1acb2d3636a2d8614d8ec (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")

get.completion = npm.commands.config.completion

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