code: def main():
      (mode, *proto_packages) = sys.argv[1:]
      if mode == "--update":
          return update(proto_packages)
      if mode == "--check":
          return check(proto_packages)
      raise ValueError("unknown mode: %r" % mode)
  
file_path: tensorboard/tensorboard/data/server/update_protos.py
imports: import os
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: main() and returns: update, check