UNPKG

single-source-of-truth

Version:

<div align='center'> <h1><strong>single-source-of-truth</strong></h1> <i>Use ArkType schemas to generate your Prisma schema</i><br> <code>pnpm add truth@npm:single-source-of-truth arktype</code> </div>

18 lines (16 loc) 545 B
#!/usr/bin/env node import { t as Registry } from "./registry-BYqsBBvz.js"; import "tsx"; import { pathToFileURL } from "node:url"; import { Command } from "commander"; //#region src/command.ts new Command("truth").action(async () => { return (await import(pathToFileURL("truth.config.ts").toString()).then((m) => m.default))({ registry: new Registry(), arktype: await import("./config-BXRH74UP.js"), prisma: await import("./config-B7yG3nBX.js") }); }).parse(process.argv); //#endregion export { }; //# sourceMappingURL=command.js.map