mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
fix version set for cli and slash commands (#892)
This commit is contained in:
@@ -91,7 +91,7 @@ async function parseArguments(): Promise<CliArgs> {
|
||||
type: 'boolean',
|
||||
description: 'Enable telemetry?',
|
||||
})
|
||||
.version() // This will enable the --version flag based on package.json
|
||||
.version(process.env.CLI_VERSION || '0.0.0') // This will enable the --version flag based on package.json
|
||||
.help()
|
||||
.alias('h', 'help')
|
||||
.strict().argv;
|
||||
|
||||
Reference in New Issue
Block a user