code: def init_cmd_context_handler(port):
      from guild import click_util
  
      handler = CmdContextHandler(port)
      click_util.add_cmd_context_handler(
          handler.on_enter, handler.on_exit
      )
  
file_path: guildai/guild/cmd_notify.py
imports: import logging
  import socket
label_desc: Use image node_id 8 for calling a global function with example usage: init_cmd_context_handler(port) without return types