back cli: correct version output

This commit is contained in:
Eric Doughty-Papassideris
2025-02-27 17:59:42 +01:00
committed by Anton Shepilov
parent 16c68f25fd
commit eec23b230b
+2 -1
View File
@@ -2,6 +2,7 @@ import "reflect-metadata";
import yargs from "yargs";
import { logger } from "../core/platform/framework/logger";
import printConfigSummary from "./lib/print-config-summary";
import version from "../version";
process.env.NODE_ENV = "cli";
@@ -37,7 +38,7 @@ yargs
.demandCommand(1, "Please supply a valid command")
.alias("help", "h")
.help("help")
.version()
.version(version.current)
.completion("completion")
.epilogue("for more information, go to https://tdrive.app")
.example("$0 <command> --help", "show help of the issue command").argv;