#!/usr/bin/env node
import {
  formatDevRuntimePostflightFailure,
  runDevRuntimePostflightCli
} from "./src/dev-runtime-postflight.mjs";

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