#!/usr/bin/env node
import {
  formatRpt004Failure,
  runRpt004Cli
} from "./src/rpt004-mvp-e2e-harness.mjs";

try {
  process.exitCode = await runRpt004Cli(process.argv.slice(2));
} catch (error) {
  process.stdout.write(`${JSON.stringify(formatRpt004Failure(error), null, 2)}\n`);
  process.exitCode = 1;
}
