code: def main():
      args = parse_args()
      command = args.command
      if command not in {"make", "check"}:
          raise ValueError(
              "You should provide a valid command: {{make|check}}. Got {command} instead.".format(
                  command=command
              )
          )
      transforms_info = get_transforms_info()
      image_only_transforms = {
          transform: info
          for transform, info in transforms_info.items()
          if info["image_only"]
      }
      dual_transforms = {
          transform: info
          for transform, info in transforms_info.items()
          if not info["image_only"]
      }
      image_only_transforms_links = make_transforms_targets_links(
          image_only_transforms
      )
      dual_transforms_table = make_transforms_targets_table(
          dual_transforms,
          header=["Transform"] + [target.value for target in Targets],
      )
      if command == "make":
          print(
              "===== COPY THIS TABLE TO README.MD BELOW ### Pixel-level transforms ====="
          )
          print(image_only_transforms_links)
          print("===== END OF COPY =====")
          print()
          print(
              "===== COPY THIS TABLE TO README.MD BELOW ### Spatial-level transforms ====="
          )
          print(dual_transforms_table)
          print("===== END OF COPY =====")
      else:
          check_docs(
              args.filepath,
              image_only_transforms_links,
              dual_transforms_table,
          )
  
file_path: albumentations/tools/make_transforms_docs.py
imports: import inspect
  import os
  import sys
  from enum import Enum
  import argparse
  import albumentations
label_desc: Use image node_id 8 for calling a global function with example usage: main() without return types