mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
fix version set for cli and slash commands (#892)
This commit is contained in:
parent
3f5ac384cc
commit
5bab5a7378
4 changed files with 11 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue