diff --git a/README.md b/README.md index 53c6782..7c4c6b8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # rbac-lookup -[![Go Report Card](https://goreportcard.com/badge/github.com/reactivops/rbac-lookup)](https://goreportcard.com/report/github.com/reactivops/rbac-lookup) [![CircleCI](https://circleci.com/gh/reactiveops/rbac-lookup.svg?style=svg)](https://circleci.com/gh/reactiveops/rbac-lookup) +[![Go Report Card](https://goreportcard.com/badge/github.com/reactiveops/rbac-lookup)](https://goreportcard.com/report/github.com/reactiveops/rbac-lookup) [![CircleCI](https://circleci.com/gh/reactiveops/rbac-lookup.svg?style=svg)](https://circleci.com/gh/reactiveops/rbac-lookup) This is a simple project that allows you to easily find Kubernetes roles and cluster roles bound to any user, service account, or group name. Binaries are generated with goreleaser for each release for simple installation. diff --git a/cmd/root.go b/cmd/root.go index 4997a80..2e558f4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -42,6 +42,7 @@ func init() { rootCmd.PersistentFlags().StringVarP(&output, "output", "o", "", "output format (normal,wide)") } +// Execute is the primary entrypoint for this CLI func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Println(err)