code: def cli(sys_argv):
      parser = argparse.ArgumentParser(
          description="This command checks Ludwig installation on a synthetic dataset.",
          prog="ludwig check_install",
          usage="%(prog)s [options]",
      )
  
      parser.add_argument(
          "-l",
          "--logging_level",
          default="warning",
          help="the level of logging to use",
          choices=[
              "critical",
              "error",
              "warning",
              "info",
              "debug",
              "notset",
          ],
      )
  
      args = parser.parse_args(sys_argv)
  
      args.logging_level = get_logging_level_registry()[
          args.logging_level
      ]
      logging.getLogger("ludwig").setLevel(args.logging_level)
      global logger
      logger = logging.getLogger("ludwig.check")
  
      print_ludwig("Check Install", LUDWIG_VERSION)
      check_install(**vars(args))
  
file_path: ludwig/ludwig/check.py
imports: import argparse
  import logging
  import tempfile
  from ludwig.api import LudwigModel
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import INPUT_FEATURES, OUTPUT_FEATURES, TRAINER
  from ludwig.data.dataset_synthesizer import build_synthetic_dataset_df
  from ludwig.globals import LUDWIG_VERSION
  from ludwig.utils.print_utils import get_logging_level_registry, print_ludwig
label_desc: Use image node_id 2 for calling a global function with example usage: cli(sys_argv) without return types