fix(cli): 🐛 Fix CLI not working in build

Missing code in cli/index.ts does that to you
This commit is contained in:
Jesse Wierzbinski 2024-05-08 00:30:45 +00:00
parent 6b17b91235
commit 04cd140f6d
No known key found for this signature in database
3 changed files with 6 additions and 2 deletions

View file

@ -13,3 +13,7 @@ export const commands = {
"user:reset": UserReset,
"emoji:add": EmojiAdd,
};
if (import.meta.path === Bun.main) {
await execute({ dir: import.meta.url });
}