code: def main() -> None:
      parser = argparse.ArgumentParser(
          description="Dump GGUF file metadata"
      )
      parser.add_argument(
          "model", type=str, help="GGUF format model filename"
      )
      parser.add_argument(
          "--no-tensors",
          action="store_true",
          help="Don't dump tensor metadata",
      )
      parser.add_argument(
          "--json", action="store_true", help="Produce JSON output"
      )
      parser.add_argument(
          "--json-array",
          action="store_true",
          help="Include full array values in JSON output (long)",
      )
      args = parser.parse_args(
          None if len(sys.argv) > 1 else ["--help"]
      )
      if not args.json:
          print(f"* Loading: {args.model}")
      reader = GGUFReader(args.model, "r")
      if args.json:
          dump_metadata_json(reader, args)
      else:
          dump_metadata(reader, args)
  
file_path: llama.cpp/gguf-py/scripts/gguf-dump.py
imports: from __future__ import annotations
  import argparse
  import os
  import sys
  from pathlib import Path
  from typing import Any
  import numpy
  from gguf import GGUFReader, GGUFValueType
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types