code: func NewCmdConfigGetClusters(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:     "get-clusters",
  		Short:   i18n.T("Display clusters defined in the kubeconfig"),
  		Long:    "Display clusters defined in the kubeconfig.",
  		Example: getClustersExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(runGetClusters(out, configAccess))
  		},
  	}
  
  	return cmd
  }
docs: // NewCmdConfigGetClusters creates a command object for the "get-clusters" action, which
  // lists all clusters defined in the kubeconfig.