mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
12 lines
355 B
JavaScript
12 lines
355 B
JavaScript
#!/usr/bin/env node
|
|
// Simple wrapper for pkg compilation
|
|
const { execSync } = require('child_process');
|
|
const path = require('path');
|
|
|
|
// Path to simple-cli.ts
|
|
const simpleCli = path.join(__dirname, '..', 'src', 'cli', 'simple-cli.ts');
|
|
|
|
// Run the CLI with tsx
|
|
execSync(`npx tsx ${simpleCli} ${process.argv.slice(2).join(' ')}`, {
|
|
stdio: 'inherit'
|
|
}); |