code: def _configure_help_formatter():
      if os.getenv("GUILD_HELP_JSON"):
          click.Context.make_formatter = _make_json_formatter
      else:
          click.Context.make_formatter = _make_plaintext_formatter
  
file_path: guildai/guild/main.py
imports: import os
  import sys
  import click
  from guild import click_util
  from guild import exit_code
  from guild.commands import main
label_desc: Use image node_id 2 for calling a global function with example usage: _configure_help_formatter() without return types