mirror of https://github.com/nodejs/node.git
13 lines
235 B
JavaScript
13 lines
235 B
JavaScript
|
|
||
|
module.exports = set
|
||
|
|
||
|
set.usage = "npm set <key> <value> (See `npm config`)"
|
||
|
|
||
|
var npm = require("./npm.js")
|
||
|
|
||
|
set.completion = npm.commands.config.completion
|
||
|
|
||
|
function set (args, cb) {
|
||
|
npm.commands.config(["set"].concat(args), cb)
|
||
|
}
|