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