code: def _maybe_preview_merge(merge, args):
      if not args.preview and args.yes:
          return
      _preview_merge(merge, args.preview)
      if args.preview:
          raise SystemExitWithDetail(0, PreviewMergeDetail(merge))
      if not cli.confirm("Continue (y/N)?", False):
          raise SystemExitWithDetail(exit_code.ABORTED, AbortedDetail())
  
imports: import os
  from guild import cli
  from guild import cmd_impl_support
  from guild import config
  from guild import exit_code
  from guild import run_merge
  from guild import run_util
  from guild import util
  from guild import vcs_util
  from .None import runs_impl
label_desc: Use image node_id 22 for calling a global function with example usage: _maybe_preview_merge(merge, args) without return types