package cmd

import (
	"code.justin.tv/eventbus/admin-cli/cmd/authfield"
	"github.com/spf13/cobra"
)

func init() {
	rootCmd.AddCommand(authFieldsCommand)

	for _, subCmd := range authfield.Commands {
		authFieldsCommand.AddCommand(subCmd)
	}
}

var authFieldsCommand = &cobra.Command{
	Use:   "auth-field",
	Short: "Manage EventBus authorized fields and grants (deletion, revocation)",
}
