code: func (ocf *outputConfigFlag) getFactory() outputFactory {
  	if ocf.Selected == nil {
  		return nil
  	}
  
  	if o, ok := ocf.Selected.(*outputOption); ok {
  		return o.factory
  	}
  	return nil
  }
docs: // Returns the Factory associated with the configured flag.