package cmd

import (
	"fmt"
	"os"

	"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
	Use:   "eventbus-admin",
	Short: "EventBus CLI allows for management of the EventBus by the Async team",
	Long:  `TODO`,
	Run: func(cmd *cobra.Command, args []string) {
		for _, arg := range args {
			fmt.Println("Received arg: ", arg)
		}
	},
}

func Execute() {
	if err := rootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
}
