def METHOD_NAME(args: argparse.Namespace) -> None:
  del args  # not used
  memo: dict[str, bool] = {}
  def res_key(res: reslib.Resource) -> str:
    return f"{res.__class__.__name__}.{res.name}"
  def walk(res: reslib.Resource, indent: str) -> None:
    key = res_key(res)
    deco = term.meh
    if key not in memo:
      memo[key] = res.is_up()
      deco = term.ok if memo[key] else term.fail
    tag = "o" if memo[key] else "x"
    print(deco(f"{indent}{tag} {res_key(res)}"))
    for dep in res.deps:
      walk(dep, indent + "  ")
  walk(resdefs.DEVENV, "")