summaryrefslogtreecommitdiff
path: root/deps/npm/lib/get.js
blob: aa058002ec19a8ff87f7fd9bf628fe3a0f269c64 (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)
}