github.com/lazyledger/lazyledger-core@v0.35.0-dev.0.20210613111200-4c651f053571/cmd/tendermint/commands/version.go (about) 1 package commands 2 3 import ( 4 "fmt" 5 6 "github.com/spf13/cobra" 7 8 "github.com/lazyledger/lazyledger-core/version" 9 ) 10 11 // VersionCmd ... 12 var VersionCmd = &cobra.Command{ 13 Use: "version", 14 Short: "Show version info", 15 Run: func(cmd *cobra.Command, args []string) { 16 fmt.Println(version.TMCoreSemVer) 17 }, 18 }