1const BaseCommand = require('../base-command.js') 2 3class Prefix extends BaseCommand { 4 static description = 'Display prefix' 5 static name = 'prefix' 6 static params = ['global'] 7 static usage = ['[-g]'] 8 9 async exec (args) { 10 return this.npm.output(this.npm.prefix) 11 } 12} 13module.exports = Prefix 14