summaryrefslogtreecommitdiff
path: root/deps/npm/lib/set.js
blob: d8210951576a287ae9ab19b7090deaf8100c9f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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)
}