diff --git a/src/nodefony/src/bin/nodefony.ts b/src/nodefony/src/bin/nodefony.ts new file mode 100644 index 0000000..dda8dd6 --- /dev/null +++ b/src/nodefony/src/bin/nodefony.ts @@ -0,0 +1,8 @@ +#!/usr/bin/env node +import { CliKernel } from "nodefony"; +import { exit } from "process"; + +const kernel = new CliKernel().start().catch((e) => { + exit(e.code || 1); +}); +export default kernel;