code: def run_cli(argv=None):
    
    args = parse_commandline(argv)
    try:
      context = get_context(args)
      settings = Settings(args.org_file, args.new_file, **context)
      results = wdiff(
        settings, args.wrap_with_html, args.fold_tags, args.hard_breaks
      )
      print(results)
      return 0
    except ContextError as err:
      print("ERROR: {}.".format(err), file=sys.stderr)
      return 1
    except WdiffNotFoundError as err:
      print("ERROR: {}.".format(err), file=sys.stderr)
      return 2
    except sub.CalledProcessError as err:
      print("ERROR: {}.".format(err), file=sys.stderr)
      return 3
docs: Calls :func:`wdiff` and prints the results to STDERR.
  
    Parses the options for :meth:`wdiff` with :func:`parse_commandline`. If
    *argv* is supplied, it is used as command line, else the actual one is used.
  
    Return Codes
    ------------
  
    0: okay
    1: error with arguments
    2: `wdiff` not found
    3: error running `wdiff`