Files
openclaw/scripts/write-package-dist-inventory.ts
2026-06-04 20:52:50 -04:00

14 lines
486 B
JavaScript

#!/usr/bin/env -S node --import tsx
// Write Package Dist Inventory script supports OpenClaw repository automation.
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();
}