Compare commits
4 Commits
v0.3.2
...
8daa621528
Author | SHA1 | Date | |
---|---|---|---|
8daa621528 | |||
7f090dbce7 | |||
f943639a88 | |||
bef3521770 |
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright © 2025 Jake jake.young.dev@gmail.com
|
||||
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
|
||||
*/
|
||||
package cmd
|
||||
|
||||
|
@@ -14,7 +14,7 @@ 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.`,
|
||||
Version: "v0.3.2",
|
||||
Version: "v0.2.0",
|
||||
// Run: func(cmd *cobra.Command, args []string) { },
|
||||
}
|
||||
|
||||
|
@@ -32,7 +32,7 @@ var viewCmd = &cobra.Command{
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf("Command: %s\n", custom.(string))
|
||||
fmt.Printf("Command: %s", custom.(string))
|
||||
},
|
||||
PreRunE: func(cmd *cobra.Command, args []string) error {
|
||||
if len(args) == 0 {
|
||||
|
Reference in New Issue
Block a user