UNPKG

@rnm/tscx

Version:

A tsc wrapper with many convenient features.

12 lines (9 loc) 288 B
#!/usr/bin/env node import process from "node:process"; import { copyfiles } from "./copyfiles.ts"; const rootDir = process.argv[2]; const outDir = process.argv[3]; if (!rootDir || !outDir) { throw new Error("`rootDir` and `outDir` are required"); } await copyfiles(rootDir, outDir);