11cb0ef41Sopenharmony_ciconst BaseCommand = require('../base-command.js') 21cb0ef41Sopenharmony_ciclass Root extends BaseCommand { 31cb0ef41Sopenharmony_ci static description = 'Display npm root' 41cb0ef41Sopenharmony_ci static name = 'root' 51cb0ef41Sopenharmony_ci static params = ['global'] 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci async exec () { 81cb0ef41Sopenharmony_ci this.npm.output(this.npm.dir) 91cb0ef41Sopenharmony_ci } 101cb0ef41Sopenharmony_ci} 111cb0ef41Sopenharmony_cimodule.exports = Root 12