Fix/cli version unknown (#642)
This commit is contained in:
parent
98699a0ab5
commit
7012c86336
|
@ -73,6 +73,7 @@ async function parseArguments(): Promise<CliArgs> {
|
||||||
description: 'Show memory usage in status bar',
|
description: 'Show memory usage in status bar',
|
||||||
default: false,
|
default: false,
|
||||||
})
|
})
|
||||||
|
.version() // This will enable the --version flag based on package.json
|
||||||
.help()
|
.help()
|
||||||
.alias('h', 'help')
|
.alias('h', 'help')
|
||||||
.strict().argv;
|
.strict().argv;
|
||||||
|
|
Loading…
Reference in New Issue