Replies: 1 comment 3 replies
-
I'm looking at |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project named moon that provides a CLI written in Rust (using clap), and I want it to be installed through npm. Ideally this CLI is executed when
yarn moon
,npm moon
, ornpx moon
, etc, is called.I'm well aware of napi-rs working for libraries, but I'm completely lost on if it's possible for binaries. I have an open PR where I'm trying things: moonrepo/moon#56. Here's also a bit more context and direct links.
I haven't seen anything in the docs about this, so looking for guidance... if it's even possible.
Also, on a side note, I could not get js/dts generate working.
Beta Was this translation helpful? Give feedback.
All reactions