code: def main():
      if len(sys.argv) != 3:
          sys.exit(
              "Specify output directory and storage type: generate_legacy_"
              "storage_files.py <output_dir> <storage_type> "
          )
  
      output_dir = str(sys.argv[1])
      storage_type = str(sys.argv[2])
  
      if storage_type == "pickle":
          write_legacy_pickles(output_dir=output_dir)
      else:
          sys.exit("storage_type must be one of {'pickle'}")
  
file_path: geopandas/geopandas/io/tests/generate_legacy_storage_files.py
imports: import os
  import pickle
  import platform
  import sys
  import pandas
  import geopandas
  from shapely.geometry import Point
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types