mirror of
https://fastgit.cc/github.com/openclaw/openclaw
synced 2026-04-21 05:12:57 +08:00
13 lines
406 B
JavaScript
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();
|
|
}
|