blob: 96b2086b8485157abb04a3509741ceda47434630 [file] [log] [blame]
package cmd
import (
"log"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "syncer",
Short: "Syncer is a synchronization tool for mutilple service centers",
Long: "Syncer is a synchronization tool for mutilple service centers, supported: ServiceComb service-center, " +
"going to be supported: SpringCloud Eureka, Istio, K8S",
}
func Execute() error {
err := rootCmd.Execute()
if err != nil {
log.Println(err)
}
return err
}