24 lines
336 B
Go
Raw Normal View History

2025-02-14 20:55:26 +01:00
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "holesail-proxy",
Short: "A simple proxy for holesail connectors",
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
},
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}