11cb0ef41Sopenharmony_ciconst BaseCommand = require('../base-command.js') 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciclass Prefix extends BaseCommand { 41cb0ef41Sopenharmony_ci static description = 'Display prefix' 51cb0ef41Sopenharmony_ci static name = 'prefix' 61cb0ef41Sopenharmony_ci static params = ['global'] 71cb0ef41Sopenharmony_ci static usage = ['[-g]'] 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ci async exec (args) { 101cb0ef41Sopenharmony_ci return this.npm.output(this.npm.prefix) 111cb0ef41Sopenharmony_ci } 121cb0ef41Sopenharmony_ci} 131cb0ef41Sopenharmony_cimodule.exports = Prefix 14