chore: initial commit

This commit is contained in:
technofab 2025-08-05 11:08:53 +02:00
commit 595200836c
No known key found for this signature in database
16 changed files with 1571 additions and 0 deletions

23
internal/cmd/root.go Normal file
View file

@ -0,0 +1,23 @@
package cmd
import (
"github.com/spf13/cobra"
"gitlab.com/technofab/go-copilot-proxy/internal/config"
)
var rootCmd = &cobra.Command{
Use: "go-copilot-proxy",
Short: "A Go-based proxy for GitHub Copilot",
Long: "go-copilot-proxy provides a local proxy server for GitHub Copilot API requests with automatic token management.",
}
func Execute() error {
return rootCmd.Execute()
}
func init() {
config.InitLogging()
rootCmd.AddCommand(serveCmd)
rootCmd.AddCommand(authCmd)
}