#!/usr/bin/env bun
import {
  formatDevRuntimeProvisioningFailure,
  runDevRuntimeProvisioningCli
} from "./src/dev-runtime-provisioning.mjs";

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