#!/usr/bin/env node
import {
  formatFailure,
  runD601K3sReadonlyObservability
} from "./src/d601-k3s-readonly-observability.mjs";

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