mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-29 10:19:11 +00:00
14 lines
276 B
JavaScript
14 lines
276 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) {
|
|
if (!args.length) return cb(set.usage)
|
|
npm.commands.config(['set'].concat(args), cb)
|
|
}
|