fix: check package.json for app version (#1160) (#1182)

This commit is contained in:
Brandon Keiji
2025-06-18 09:57:17 -07:00
committed by GitHub
parent 3453b977b8
commit 30d1662128
4 changed files with 13 additions and 10 deletions

View File

@@ -123,7 +123,7 @@ async function parseArguments(): Promise<CliArgs> {
description: 'Enables checkpointing of file edits',
default: false,
})
.version(getCliVersion()) // This will enable the --version flag based on package.json
.version(await getCliVersion()) // This will enable the --version flag based on package.json
.alias('v', 'version')
.help()
.alias('h', 'help')