This commit is contained in:
admju 2024-09-18 08:59:28 +00:00
parent 19790f61e2
commit 3abf53ec6c

15
src/cmd/versionlCmd.go Normal file
View File

@ -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
}