You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
276 B

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) {
if (!args.length) return cb(set.usage)
npm.commands.config(["set"].concat(args), cb)
}