6 "github.com/spf13/cobra"
7 jww "github.com/spf13/jwalterweatherman"
9 "github.com/bytom/vapor/version"
12 var versionCmd = &cobra.Command{
14 Short: "Print the version number of vaporcli",
15 Run: func(cmd *cobra.Command, args []string) {
16 jww.FEEDBACK.Printf("vaporcli v%s %s/%s\n", version.Version, runtime.GOOS, runtime.GOARCH)