1 2module.exports = set 3 4set.usage = 'npm set <key> <value> (See `npm config`)' 5 6var npm = require('./npm.js') 7 8set.completion = npm.commands.config.completion 9 10function set (args, cb) { 11 if (!args.length) return cb(set.usage) 12 npm.commands.config(['set'].concat(args), cb) 13} 14