The CLI is great, but it’s far from cross-platform. Since Bun runs under the hood, it limits the ability to use whitebit-cli on certain platforms, such as OpenBSD, older Linux distributions, etc.
I solved this problem by removing Bun from the project entirely. I rewrote the entire command handler using Commander without compromising the user experience.
I tested everything on OpenBSD and on another machine which runs Linux, it works perfectly.
If you're interested in migrating from Bun to Node.js, I can send you a pull request and you can review it.
Thanks.
The CLI is great, but it’s far from cross-platform. Since Bun runs under the hood, it limits the ability to use whitebit-cli on certain platforms, such as OpenBSD, older Linux distributions, etc.
I solved this problem by removing Bun from the project entirely. I rewrote the entire command handler using Commander without compromising the user experience.
I tested everything on OpenBSD and on another machine which runs Linux, it works perfectly.
If you're interested in migrating from Bun to Node.js, I can send you a pull request and you can review it.
Thanks.