in pkg/cmd/root.go [8:26]
func NewRootCmd(version string) *cobra.Command {
cmd := &cobra.Command{
Use: "kubelogin",
Short: "login to azure active directory and populate kubeconfig with AAD tokens",
SilenceUsage: true,
Version: version,
RunE: func(c *cobra.Command, args []string) error {
return c.Help()
},
}
cmd.AddCommand(newConvertCmd())
cmd.AddCommand(newTokenCmd())
cmd.AddCommand(newRemoveAuthRecordCacheCmdDeprecated())
cmd.AddCommand(newRemoveAuthRecordCacheCmd())
return cmd
}