code: def list(
      section: Ann[
          Optional[str], Arg(show_default="all sections")
      ] = None
  ):
      """Lists every config variable in the section."""
      from hailtop.config import (
          get_user_config,
      )  # pylint: disable=import-outside-toplevel
  
      config = get_user_config()
      if section:
          for key, value in config.items(section):
              print(f"{key}={value}")
      else:
          for sname, items in config.items():
              for key, value in items.items():
                  print(f"{sname}/{key}={value}")
  
file_path: hail/hail/python/hailtop/hailctl/config/cli.py
imports: import os
  import sys
  from typing import Optional, Tuple, Annotated
  from rich import print
  import typer
  from typer import Argument
  from hailtop.config.variables import ConfigVariable
  from .config_variables import config_variables
label_desc: Use image node_id 8 for calling a global function with example usage: list(section) without return types