code: def test_config_get_unknown_names(runner: CliRunner, config_dir: str):
      config_path = get_user_config_path(_config_dir=config_dir)
      os.makedirs(os.path.dirname(config_path))
      with open(config_path, "w", encoding="utf-8") as config:
          config.write(
              f"""
  [global]
  email = johndoe@gmail.com
  
  [batch]
  foo = 5
  """
          )
  
      res = runner.invoke(
          cli.app, ["get", "email"], catch_exceptions=False
      )
      assert res.exit_code == 0
      assert res.stdout.strip() == "johndoe@gmail.com"
  
      res = runner.invoke(
          cli.app, ["get", "batch/foo"], catch_exceptions=False
      )
      assert res.exit_code == 0
      assert res.stdout.strip() == "5"
  
file_path: hail/hail/python/test/hailtop/hailctl/config/test_cli.py
imports: import os
  import pytest
  from typer.testing import CliRunner
  from hailtop.config.variables import ConfigVariable
  from hailtop.config.user_config import get_user_config_path
  from hailtop.hailctl.config import cli, config_variables
label_desc: Use image node_id 4 for calling a global function with example usage: test_config_get_unknown_names(runner, config_dir) without return types