1
2
3
4
5
6
7
8
9
10
11
12
13
14
| const { output } = require('proc-log')
| const BaseCommand = require('../base-cmd.js')
|
| class Root extends BaseCommand {
| static description = 'Display npm root'
| static name = 'root'
| static params = ['global']
|
| async exec () {
| output.standard(this.npm.dir)
| }
| }
|
| module.exports = Root
|
|