smart-energy-monitor/software/flow/node_modules/npm/lib/commands/prefix.js

14 lines
303 B
JavaScript
Raw Normal View History

2023-02-23 15:38:30 +01:00
const BaseCommand = require('../base-command.js')
class Prefix extends BaseCommand {
static description = 'Display prefix'
static name = 'prefix'
static params = ['global']
static usage = ['[-g]']
async exec (args) {
return this.npm.output(this.npm.prefix)
}
}
module.exports = Prefix