Files
tendermint/cmd/tendermint/commands/version.go
Ethan Buchman 66fcdf7c7a minor fixes
2017-09-21 15:50:43 -04:00

19 lines
293 B
Go

package commands
import (
"fmt"
"github.com/spf13/cobra"
"github.com/tendermint/tendermint/version"
)
// VersionCmd ...
var VersionCmd = &cobra.Command{
Use: "version",
Short: "Show version info",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version.Version)
},
}