mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
feat: implement hgctl agent & mcp add subcommand (#3051)
This commit is contained in:
@@ -17,6 +17,7 @@ package hgctl
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/alibaba/higress/hgctl/pkg/agent"
|
||||
"github.com/alibaba/higress/hgctl/pkg/plugin"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@@ -42,6 +43,8 @@ func GetRootCommand() *cobra.Command {
|
||||
rootCmd.AddCommand(plugin.NewCommand())
|
||||
rootCmd.AddCommand(newCompletionCmd(os.Stdout))
|
||||
rootCmd.AddCommand(newCodeDebugCmd())
|
||||
rootCmd.AddCommand(agent.NewMCPCmd())
|
||||
rootCmd.AddCommand(agent.NewAgentCmd())
|
||||
|
||||
return rootCmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user