Rewriting the CLI in Rust: Was It Worth It?
blog.railway.app
blog.railway.app
Since then, we have written all our CLI in Rust, regardless of size.
Tip: for small personal CLI, "cargo watch -x 'install --path .'" can make the whole dev experience script-like.
Sidenote for the railway cli dev team:
I tried installing the rust cli tool recently but when i ran the `railway login` command it broke with this error:
` node:internal/modules/cjs/loader:949 throw err; ^
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\@railway\cli\bin\railway.js' at Module._resolveFilename (node:internal/modules/cjs/loader:946:15) at Module._load (node:internal/modules/cjs/loader:787:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } `
Could you please check it? Or direct me to any docs that may help resolve this.
You are absolutely right, I am on Windows 10. Is that not supported?