code: def deploy_local(args: argparse.Namespace) -> None:
      OPERATION_TO_FN = {
          "agent-up": handle_agent_up,
          "agent-down": handle_agent_down,
          "cluster-up": handle_cluster_up,
          "cluster-down": handle_cluster_down,
          "logs": handle_logs,
          "master-up": handle_master_up,
          "master-down": handle_master_down,
      }  # type: Dict[str, Callable[[argparse.Namespace], None]]
      OPERATION_TO_FN[args.command](args)
  
file_path: determined/harness/determined/deploy/local/cli.py
imports: import argparse
  import sys
  from pathlib import Path
  from typing import Callable, Dict
  import determined
  from determined.common.declarative_argparse import Arg, BoolOptArg, Cmd, Group
  from determined.deploy.local import cluster_utils
  from .preflight import check_docker_install
label_desc: Use image node_id 8 for calling a global function with example usage: deploy_local(args) without return types