You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a minor bug which means that ts-to-zod does not exit until the user presses enter or a key.
This causes a problem when running from an npm or deno script and I have to do a workaround: echo '' | deno run -A npm:ts-to-zod --all otherwise it will never exit.
This only happens when running from something else like a package.json script entry.
If this is intended behaviour, is it possible to add a flag like --exit-when-done ? Which as soon as the generation is finished it will terminate the process with a 0 error, that way we can use this non-interactively.
The text was updated successfully, but these errors were encountered:
There seems to be a minor bug which means that ts-to-zod does not exit until the user presses enter or a key.
This causes a problem when running from an npm or deno script and I have to do a workaround:
echo '' | deno run -A npm:ts-to-zod --all
otherwise it will never exit.This only happens when running from something else like a package.json script entry.
If this is intended behaviour, is it possible to add a flag like --exit-when-done ? Which as soon as the generation is finished it will terminate the process with a 0 error, that way we can use this non-interactively.
The text was updated successfully, but these errors were encountered: