#!/usr/bin/env node

import {
  eventForRuntimeCommand,
  trackFathomEvent,
  trackFirstActivation,
} from "../server/fathom-analytics.mjs";

const eventName = eventForRuntimeCommand(process.argv[2]);
await trackFirstActivation();
if (eventName) await trackFathomEvent(eventName, "/carbon/plugin/runtime");
