/* Copyright © 2023 Seednode */ package cmd import ( "fmt" "github.com/spf13/cobra" ) var Version = "0.38.2" func init() { rootCmd.AddCommand(versionCmd) } var versionCmd = &cobra.Command{ Use: "version", Short: "Print version", Long: "Print the version number of roulette", Run: func(cmd *cobra.Command, args []string) { fmt.Println("roulette v" + Version) }, }