Record the progress of the OSPP 2023 hgctl project (#453)

This commit is contained in:
WeixinX
2023-10-27 17:36:49 +08:00
committed by GitHub
parent 4a5127fedc
commit 901ad9619d
41 changed files with 7178 additions and 101 deletions

View File

@@ -14,7 +14,10 @@
package hgctl
import "github.com/spf13/cobra"
import (
"github.com/alibaba/higress/pkg/cmd/hgctl/plugin"
"github.com/spf13/cobra"
)
// GetRootCommand returns the root cobra command to be executed
// by hgctl main.
@@ -34,6 +37,7 @@ func GetRootCommand() *cobra.Command {
rootCmd.AddCommand(newProfileCmd())
rootCmd.AddCommand(newDashboardCmd())
rootCmd.AddCommand(newManifestCmd())
rootCmd.AddCommand(plugin.NewCommand())
return rootCmd
}