{"version":3,"file":"forgeSqlOrmCLI.mjs","names":[],"sources":["../src/forgeSqlOrmCLI.mts"],"sourcesContent":["#!/usr/bin/env node\n// SPDX-FileCopyrightText: 2025-2026 Vasyl Zakharchenko\n// SPDX-License-Identifier: MIT\n\nimport { execSync } from \"node:child_process\";\nimport path, { dirname } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n// Get CLI arguments (excluding \"node\" and script path)\nconst args = process.argv.slice(2).join(\" \");\n\n// Resolve the path to cli.ts (your TypeScript entry file)\nconst cliPath = path.resolve(__dirname, \"cli.mjs\");\n\ntry {\n  execSync(`npx  --yes tsm --no-warnings \"${cliPath}\" ${args}`, { stdio: \"inherit\" });\n  process.exit(0);\n} catch (e: unknown) {\n  console.error(\"⚠️  Command execution failed:\", e instanceof Error ? e.message : e);\n  process.exit(1);\n}\n"],"mappings":";;;;;AASA,IAAM,YAAY,QADC,cAAc,OAAO,KAAK,GACnB,CAAU;AAEpC,IAAM,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG;AAG3C,IAAM,UAAU,KAAK,QAAQ,WAAW,SAAS;AAEjD,IAAI;CACF,SAAS,iCAAiC,QAAQ,IAAI,QAAQ,EAAE,OAAO,UAAU,CAAC;CAClF,QAAQ,KAAK,CAAC;AAChB,SAAS,GAAY;CACnB,QAAQ,MAAM,iCAAiC,aAAa,QAAQ,EAAE,UAAU,CAAC;CACjF,QAAQ,KAAK,CAAC;AAChB"}