#!/usr/bin/env node 'use strict'; /** * Launcher only. The CLI itself is TypeScript (`src/cli.ts`); this file stays * plain JS so `node bin/apex7-scale.js` and the `apex7-scale` bin link keep * working without a loader. */ const fs = require('fs'); const path = require('path'); const compiled = path.join(__dirname, '..', 'dist', 'src', 'cli.js'); if (!fs.existsSync(compiled)) { console.error('apex7-scale is not built yet — run: npm run build'); process.exit(1); } require(compiled).run();