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