class Protobuf::CLI

def configure_deprecation_warnings

Tell protobuf how to handle the printing of deprecated field usage.
def configure_deprecation_warnings
  if options.print_deprecation_warnings.nil?
    ::Protobuf.print_deprecation_warnings = !ENV.key?("PB_IGNORE_DEPRECATIONS")
  else
    ::Protobuf.print_deprecation_warnings = options.print_deprecation_warnings?
  end
end