You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
const { output } = require('proc-log')
|
|
const BaseCommand = require('../base-cmd.js')
|
|
|
|
class Prefix extends BaseCommand {
|
|
static description = 'Display prefix'
|
|
static name = 'prefix'
|
|
static params = ['global']
|
|
|
|
async exec () {
|
|
return output.standard(this.npm.prefix)
|
|
}
|
|
}
|
|
|
|
module.exports = Prefix
|