adding version into command

This commit is contained in:
2025-04-16 16:43:58 -04:00
parent 2a6090bd67
commit 8068b090ed
2 changed files with 17 additions and 6 deletions

View File

@@ -11,9 +11,10 @@ import (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "mctl",
Short: "A remote console client",
Long: `mctl is a terminal-friendly remote console client made to manage game servers.`,
Use: "mctl",
Short: "A remote console client",
Long: `mctl is a terminal-friendly remote console client made to manage game servers.`,
Version: "v0.1.1",
// Run: func(cmd *cobra.Command, args []string) { },
}