UNPKG

fire-code-cli

Version:

AI-powered coding assistant for the terminal. A ChatGPT-like CLI tool built with React Ink and Fireworks AI.

16 lines (14 loc) 409 B
#!/usr/bin/env node const { getBinaryPath } = require('../lib/get-binary-path.cjs'); const { execSync } = require('child_process'); try { const binaryPath = getBinaryPath(); execSync(`"${binaryPath}" ${process.argv.slice(2).join(' ')}`, { stdio: 'inherit' }); } catch (error) { if (error.status) { process.exit(error.status); } else { console.error(error.message); process.exit(1); } }