@blockxai/camp-codegen
Version:
Camp Codegen CLI & SDK — AI-powered smart contract generation with verification, security auditing, and compliance checking
17 lines (15 loc) • 393 B
JavaScript
// Thin launcher that invokes the compiled CLI entry.
(async () => {
try {
const m = await import('../dist/cli.js');
if (typeof m.run !== 'function') {
console.error('CLI is not built yet. Run: npm run build');
process.exit(1);
}
await m.run();
} catch (err) {
console.error(err?.message || String(err));
process.exit(1);
}
})();