Fix/cli version unknown (#642)

This commit is contained in:
Scott Densmore 2025-05-30 20:45:15 -07:00 committed by GitHub
parent 98699a0ab5
commit 7012c86336
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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;