code: def main(
      host=None,
      port=None,
      debug=None,
      no_reaper=None,
      open_browser=False,
      name=None,
      no_cell_edits=None,
      hide_shutdown=None,
      github_fork=None,
      app_root=None,
      hide_drop_rows=None,
      **kwargs,
  ):
      """
      Runs a local server for the D-Tale application.
  
      This local server is recommended when you have a pandas object stored in a CSV
      or retrievable from :class:`arctic.Arctic` data store.
      """
      log_opts = get_log_options(kwargs)
      setup_logging(
          log_opts.get("logfile"),
          log_opts.get("log_level"),
          log_opts.get("verbose"),
      )
  
      data_loader = check_loaders(kwargs)
  
      # in order to handle the hierarchy of inputs if "--no-cell-edits" is not specified
      # then we'll update it to None
      allow_cell_edits = False if no_cell_edits is not None else None
      kwargs["show_columns"] = (
          kwargs["show_columns"].split(",")
          if kwargs.get("show_columns")
          else None
      )
      kwargs["hide_columns"] = (
          kwargs["hide_columns"].split(",")
          if kwargs.get("hide_columns")
          else None
      )
      kwargs["sort"] = (
          [tuple(sort.split("|")) for sort in kwargs["sort"].split(",")]
          if kwargs.get("sort")
          else None
      )
      kwargs["locked"] = (
          kwargs["locked"].split(",") if kwargs.get("locked") else None
      )
      show(
          host=host,
          port=int(port or find_free_port()),
          debug=debug,
          subprocess=False,
          data_loader=data_loader,
          reaper_on=not no_reaper,
          open_browser=open_browser,
          name=name,
          allow_cell_edits=allow_cell_edits,
          hide_shutdown=hide_shutdown,
          github_fork=github_fork,
          app_root=app_root,
          hide_drop_rows=hide_drop_rows,
          **kwargs,
      )
  
file_path: dtale/dtale/cli/script.py
imports: from logging import getLogger
  import click
  import sys
  from dtale.app import find_free_port, show
  from dtale.cli.clickutils import LOG_LEVELS, get_log_options, run, setup_logging
  from dtale.cli.loaders import check_loaders, setup_loader_options
label_desc: Use image node_id 2 for calling a global function with example usage: main(host, port, debug, no_reaper, open_browser, name, no_cell_edits, hide_shutdown, github_fork, app_root, hide_drop_rows) without return types