From a4a3f1f332e79239f9ac306381d9825a02601131 Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Fri, 26 May 2023 19:24:42 -0700 Subject: [PATCH] placeholder config cmd added --- cmd/mg/cmd/config.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cmd/mg/cmd/config.go diff --git a/cmd/mg/cmd/config.go b/cmd/mg/cmd/config.go new file mode 100644 index 0000000..6503504 --- /dev/null +++ b/cmd/mg/cmd/config.go @@ -0,0 +1,21 @@ +package cmd + +import ( + "fmt" + + "github.com/spf13/cobra" +) + +// configCmd represents the config command +var configCmd = &cobra.Command{ + Use: "config", + Short: "", + Long: ``, + Run: func(cmd *cobra.Command, args []string) { + fmt.Println("config called") + }, +} + +func init() { + rootCmd.AddCommand(configCmd) +}