package cmd import ( "fmt" "github.com/spf13/cobra" "os" ) var ( rootCmd = &cobra.Command{ Use: "shadowTLS", Short: "Pack TCP connection and perform real TLS handshake to confuse firewall", } ) func init() { rootCmd.CompletionOptions.DisableDefaultCmd = true } func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } }