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.
|
const BaseCommand = require('../base-command.js')
|
|
class Root extends BaseCommand {
|
|
static description = 'Display npm root'
|
|
static name = 'root'
|
|
static params = ['global']
|
|
static ignoreImplicitWorkspace = true
|
|
|
|
async exec () {
|
|
this.npm.output(this.npm.dir)
|
|
}
|
|
}
|
|
module.exports = Root
|