Files
openclaw/scripts/write-package-dist-inventory.ts
2026-04-15 09:39:51 -07:00

13 lines
406 B
JavaScript

#!/usr/bin/env -S node --import tsx
import { pathToFileURL } from "node:url";
import { writePackageDistInventory } from "../src/infra/package-dist-inventory.ts";
export async function writeCurrentPackageDistInventory(): Promise<void> {
await writePackageDistInventory(process.cwd());
}
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
await writeCurrentPackageDistInventory();
}