From 3abf53ec6c6e5bee65e0795d00467fcb52a47f77 Mon Sep 17 00:00:00 2001 From: admju Date: Wed, 18 Sep 2024 08:59:28 +0000 Subject: [PATCH] version --- src/cmd/versionlCmd.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/cmd/versionlCmd.go diff --git a/src/cmd/versionlCmd.go b/src/cmd/versionlCmd.go new file mode 100644 index 0000000..e31a708 --- /dev/null +++ b/src/cmd/versionlCmd.go @@ -0,0 +1,15 @@ +package cmd + +import ( + "fmt" + log "oc-deploy/log_wrapper" +) + +func VersionCmd() error { + + version := "0.1.0" + log.Log().Debug().Msg(fmt.Sprintf("Version : %s", version)) + fmt.Println(version) + + return nil +} \ No newline at end of file