From eec23b230b7963a8d0b9896ef6addb86aeaa3102 Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Thu, 27 Feb 2025 17:59:42 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20back=20cli:=20correct=20version=20o?= =?UTF-8?q?utput?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/cli/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/cli/index.ts b/tdrive/backend/node/src/cli/index.ts index f96049a3..051b4c2d 100644 --- a/tdrive/backend/node/src/cli/index.ts +++ b/tdrive/backend/node/src/cli/index.ts @@ -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 --help", "show help of the issue command").argv;