code: def _register_cmd_context_handlers():
      """Register command context handlers.
  
      Command context handlers can be used to respond to start and stop
      of Guild commands.
  
      Currently Guild supports one handler type - socket notification of
      command info. This can be used to monitor Guild commands by
      setting the `GUILD_CMD_NOTIFY_PORT` env var to a port of a socket
      server. See `guild.cmd_notify` for details.
      """
      _maybe_register_cmd_notify()
  
imports: import logging
  import os
  from guild import cli
  from guild import config
  from guild import log
label_desc: Use image node_id 14 for calling a global function with example usage: _register_cmd_context_handlers() without return types