code: def handle_cluster_up(args: argparse.Namespace) -> None:
      if not args.no_preflight_checks:
          check_docker_install()
  
      cluster_utils.cluster_up(
          num_agents=args.agents,
          port=args.master_port,
          master_config_path=args.master_config_path,
          storage_host_path=args.storage_host_path,
          cluster_name=args.cluster_name,
          image_repo_prefix=args.image_repo_prefix,
          version=args.det_version,
          db_password=args.db_password,
          delete_db=args.delete_db,
          gpu=args.gpu,
          autorestart=(not args.no_autorestart),
          auto_work_dir=args.auto_work_dir,
      )
  
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 1 for calling a global function with example usage: handle_cluster_up(args) without return types