code: def prepare_default_pager(
      clear_screen: bool = False,
      quit_if_one_screen: bool = True,
      ansi_escapes: bool = True,
      chop_long_lines: bool = True,
      no_init: bool = True,
      no_tilde: bool = False,
  ) -> str:
      args = [DEFAULT_PAGER]
      if clear_screen:
          args.append("--clear-screen")  # -c
      if quit_if_one_screen:
          args.append("--quit-if-one-screen")  # -F
      if ansi_escapes:
          args.append("--RAW-CONTROL-CHARS")  # -R
      if chop_long_lines:
          args.append("--chop-long-lines")  # -S
      if no_init:
          args.append("--no-init")  # -X
      if no_tilde:
          args.append("--tilde")  # -~
  
      return " ".join(args)
  
file_path: dvc/dvc/ui/pager.py
imports: import os
  import pydoc
  from rich.pager import Pager
  from dvc.env import DVC_PAGER
  from dvc.log import logger
  from dvc.utils import format_link
label_desc: Use image node_id 1 for calling a global function with example usage: prepare_default_pager(clear_screen, quit_if_one_screen, ansi_escapes, chop_long_lines, no_init, no_tilde) and returns: str