func NewRootCommand(clients *pkg.Clients) *cobra.Command {
	result := cobra.Command{
		Use:   "kn-vsphere",
		Short: "Knative plugin to create Knative compatible Event Sources for VMware vSphere events,\nand Bindings to access the vSphere API",
	}

	result.AddCommand(auth.NewAuthCommand(clients))
	result.AddCommand(source.NewSourceCommand(clients))
	result.AddCommand(binding.NewBindingCommand(clients))
	result.AddCommand(version.NewVersionCommand())

	return &result
}
// NewRootCommand returns the root command of the CLI
NewRootCommand returns the root command of the CLI
// NewRootCommand returns the root command of the CLI
func NewRootCommand(clients *pkg.Clients) *cobra.Command {
	result := cobra.Command{
		Use:   "kn-vsphere",
		Short: "Knative plugin to create Knative compatible Event Sources for VMware vSphere events,\nand Bindings to access the vSphere API",
	}
	result.AddCommand(auth.NewAuthCommand(clients))
	result.AddCommand(source.NewSourceCommand(clients))
	result.AddCommand(binding.NewBindingCommand(clients))
	result.AddCommand(version.NewVersionCommand())
	return &result
}
func NewRootCommand ( clients * pkg . Clients ) * cobra . Command { result := cobra . Command { Use : " " , Short : " \n " , } result . AddCommand ( auth . NewAuthCommand ( clients ) ) result . AddCommand ( source . NewSourceCommand ( clients ) ) result . AddCommand ( binding . NewBindingCommand ( clients ) ) result . AddCommand ( version . NewVersionCommand ( ) ) return & result }
NewRootCommand returns the root command of the CLI
NewRootCommand returns the root command of the CLI