refactor: updated cmd command funcs

This commit is contained in:
David Allen 2025-08-14 07:41:09 -06:00
parent a1a9c6407f
commit 1413312893
Signed by: towk
GPG key ID: 793B2924A49B3A3F
6 changed files with 63 additions and 1 deletions

View file

@ -1,7 +1,19 @@
package cmd
import "github.com/spf13/cobra"
import (
"git.towk2.me/towk/configurator/pkg/util"
"github.com/spf13/cobra"
)
var downloadCmd = cobra.Command{
Use: "download",
Run: func(cmd *cobra.Command, args []string) {
util.MakeRequest()
},
}
func init() {
rootCmd.AddCommand(&downloadCmd)
}