get.js 235 B

123456789101112
  1. module.exports = get
  2. get.usage = 'npm get <key> <value> (See `npm config`)'
  3. var npm = require('./npm.js')
  4. get.completion = npm.commands.config.completion
  5. function get (args, cb) {
  6. npm.commands.config(['get'].concat(args), cb)
  7. }