a781a4f27e
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
12 lines
303 B
JavaScript
Executable file
12 lines
303 B
JavaScript
Executable file
import { execSync } from 'child_process'
|
|
import { resolve } from 'path'
|
|
import { fileURLToPath } from 'url'
|
|
|
|
execSync(
|
|
`node --loader ts-node/esm/transpile-only ${resolve(fileURLToPath(import.meta.url), '../src/cli.ts')} ${process.argv
|
|
.slice(2)
|
|
.join(' ')}`,
|
|
{
|
|
stdio: 'inherit',
|
|
},
|
|
)
|