doorgan/generate.ts

8 lines
235 B
TypeScript
Raw Permalink Normal View History

2024-10-21 02:48:23 +00:00
import { output } from "@gnome/exec"
const printLines = (resp: any) => console.log(resp.lines().join("\n"))
await output(`deno`,
["run", "-A", "npm:ts-to-zod", "lib/config/types.ts", "lib/config/types.zod.ts"]
).then(printLines)