From a2feff7070d0adcefbf2cc875d73d4815f47fd19 Mon Sep 17 00:00:00 2001 From: Abhishek Shroff Date: Sun, 1 Jun 2025 14:47:36 +0530 Subject: [PATCH] [server][cli] Add version --- server/internal/command/command.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/internal/command/command.go b/server/internal/command/command.go index 48c1ad79..c47645ba 100644 --- a/server/internal/command/command.go +++ b/server/internal/command/command.go @@ -31,7 +31,10 @@ import ( var defaultConfig embed.FS func SetupCommand() { - var cmd = &cobra.Command{Use: path.Base(os.Args[0])} + var cmd = &cobra.Command{ + Use: path.Base(os.Args[0]), + Version: "0.3.0", + } flags := cmd.PersistentFlags() // Flags only. Not part of config file