code: def add_cmd(app: Typer, mod_name: str) -> None:
      # TODO: pyinstaller is very unhappy with dynamic imports
      # to fix this we need to make the pyinstaller spec dynamically pick up all modules under 'src'
      # till then we continue to use typer.add_typer(command.cmd, name="command")
      module: Any = importlib.import_module(f"src.{mod_name}")
      app.add_typer(module.app, name=mod_name)
  
imports: import importlib
  from typing import Any
  from typing import Callable
  from typing import List
  from typer import Typer
label_desc: Use image node_id 2 for calling a global function with example usage: add_cmd(app, mod_name) without return types