INNER CODE UNIT · Go

init

easegress-io/easegress · cmd/builder/main.go:27

func init() {
	cobra.EnablePrefixMatching = true
}

var basicGroup = &cobra.Group{
	ID:    "basic",
	Title: `Basic Commands`,
}

func main() {
	rootCmd := &cobra.Command{
		Use:        "egbuilder",
		Short:      "A command-line tool designed for building Easegress using custom modules.",
		SuggestFor: []string{"egbuilder"},
	}

	addCommandWithGroup := func(group *cobra.Group, cmd ...*cobra.Command) {
		for _, c := range cmd {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…