Skip to content

Refactor CLI for wider OS compatibility #2

Description

@nazarenkomykyta

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions