Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deno Support #148

Open
harrysolovay opened this issue Mar 1, 2022 · 4 comments
Open

Deno Support #148

harrysolovay opened this issue Mar 1, 2022 · 4 comments

Comments

@harrysolovay
Copy link

Awesome library. I'm currently using cmd-ts within a Deno application. Everything behaves beautifully with one exception: at the end of every run is an error related to (what appears to be) a NodeJS cleanup hook (?).

error: Uncaught TypeError: __Process$.exit is not a function
    at N.run (https://cdn.esm.sh/v66/cmd-ts@0.10.0/es2021/cmd-ts.js:2:4443)
    at Module.ve (https://cdn.esm.sh/v66/cmd-ts@0.10.0/es2021/cmd-ts.js:9:66)
    at async file:///Users/harrysolovay/Desktop/capi/cli/bin.ts:8:1

Using dryRun suppresses this error... but then there's no console output. Any tips on smoothing this out?

@harrysolovay
Copy link
Author

Just wanted to follow up. I'm a huge fan of this CLI DX and would very much like to continue using it. Thoughts on this issue would be greatly appreciated!

@Schniz
Copy link
Owner

Schniz commented May 18, 2022

Hey I really want to do that. Having dryRun was to support Deno. Hope I’ll get to this soon

@harrysolovay
Copy link
Author

@Schniz thank you for your consideration. AWESOME TOOL!

@harrysolovay
Copy link
Author

Hi @Schniz, any word on whether this feature might make its way into the lib? (no pressure).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants