Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

481 B
Raw Blame
import { parseArgs } from "node:util";
import { customerCopy } from "../../packages/database/loops/customer-copy";
import { runLoopsSync } from "../../packages/database/loops/worker";

const { values } = parseArgs({
	options: { apply: { type: "boolean", default: false } },
});
if (!values.apply)
	throw new Error(
		"Pass --apply to process queued updates. Defaults to the owned-email allowlist; see README.md.",
	);
console.log(JSON.stringify(await runLoopsSync(customerCopy)));