Installing dependencies.
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
const BaseCommand = require('../base-command.js')
|
||||
|
||||
class Prefix extends BaseCommand {
|
||||
static description = 'Display prefix'
|
||||
static name = 'prefix'
|
||||
static params = ['global']
|
||||
static usage = ['[-g]']
|
||||
static ignoreImplicitWorkspace = true
|
||||
|
||||
async exec (args) {
|
||||
return this.npm.output(this.npm.prefix)
|
||||
}
|
||||
}
|
||||
module.exports = Prefix
|
||||
Reference in New Issue
Block a user