code: func NewCmdConfigDeleteCluster(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:                   "delete-cluster NAME",
  		DisableFlagsInUseLine: true,
  		Short:                 i18n.T("Delete the specified cluster from the kubeconfig"),
  		Long:                  "Delete the specified cluster from the kubeconfig",
  		Example:               deleteClusterExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(runDeleteCluster(out, configAccess, cmd))
  		},
  	}
  
  	return cmd
  }
docs: // NewCmdConfigDeleteCluster returns a Command instance for 'config delete-cluster' sub command