version
This commit is contained in:
parent
19790f61e2
commit
3abf53ec6c
15
src/cmd/versionlCmd.go
Normal file
15
src/cmd/versionlCmd.go
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user