code: static int main2(PrintWriter out, PrintWriter err, List<String> args) {
      try {
        final Launcher launcher = new Launcher(args, out);
        final Quidem quidem;
        try {
          quidem = launcher.parse();
        } catch (ParseException e) {
          return e.code;
        }
        quidem.execute();
        return 0;
      } catch (Throwable e) {
        out.flush();
        e.printStackTrace(err);
        return 2;
      } finally {
        out.flush();
        err.flush();
      }
    }
docs: Creates a launcher, parses command line arguments, and runs Quidem.
  
  <p>Similar to a {@code main} method, but never calls
  {@link System#exit(int)}.
  
  @param out Writer to which to print output
  @param args Command-line arguments
  
  @return Operating system error code (0 = success, 1 = invalid arguments,
  2 = other error)