code: def cli(debug: bool) -> None:
      # log to sys out
      log_level = logging.DEBUG if debug else logging.CRITICAL
      logging.basicConfig(
          stream=sys.stdout,
          format="%(asctime)s : %(levelname)s : %(message)s",
          level=logging.CRITICAL,
      )
      logging.getLogger("paramiko").setLevel(logging.CRITICAL)
      logging.getLogger("lazycluster").setLevel(log_level)
  
file_path: lazycluster/src/lazycluster/scripts/cli_handler.py
imports: import logging
  import os
  import sys
  from typing import List, Optional
  import click
  import storm.__main__
  from click_spinner import spinner
  from lazycluster import NoRuntimesDetectedError, RuntimeManager
label_desc: Use image node_id 1 for calling a global function with example usage: cli(debug) without return types