//go:build frpc_gui package sub import ( "github.com/spf13/cobra" "github.com/fatedier/frp/client/gui" ) func init() { guiCmd := &cobra.Command{ Use: "gui", Short: "Start the frpc graphical user interface", RunE: func(cmd *cobra.Command, args []string) error { gui.Run() return nil }, } rootCmd.AddCommand(guiCmd) }