mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
41923c0c07
PR-URL: https://github.com/nodejs/node/pull/3310 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
13 lines
235 B
JavaScript
13 lines
235 B
JavaScript
|
|
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)
|
|
}
|