Files
saiden-config/bin/saiden-config.js
T
2026-06-10 18:21:22 +02:00

10 lines
400 B
JavaScript
Executable File

#!/usr/bin/env node
import { spawnSync } from "node:child_process";
import { fileURLToPath } from "node:url";
import { resolve, dirname } from "node:path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const cli = resolve(__dirname, "..", "src", "cli.ts");
const result = spawnSync("bun", ["run", cli, ...process.argv.slice(2)], { stdio: "inherit" });
process.exit(result.status ?? 1);