code: func (o ViewOptions) Run() error {
  	config, err := o.loadConfig()
  	if err != nil {
  		return err
  	}
  
  	if o.Minify {
  		if len(o.Context) > 0 {
  			config.CurrentContext = o.Context
  		}
  		if err := clientcmdapi.MinifyConfig(config); err != nil {
  			return err
  		}
  	}
  
  	if o.Flatten {
  		if err := clientcmdapi.FlattenConfig(config); err != nil {
  			return err
  		}
  	} else if !o.RawByteData {
  		clientcmdapi.ShortenConfig(config)
  	}
  
  	convertedObj, err := latest.Scheme.ConvertToVersion(config, latest.ExternalVersion)
  	if err != nil {
  		return err
  	}
  
  	return o.PrintObject(convertedObj, o.Out)
  }
docs: // Run performs the execution of 'config view' sub command