-
Notifications
You must be signed in to change notification settings - Fork 68
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
The help does not show on command line #196
Comments
The command
|
Hello @FlorianCousin, I found a fix for this but cannot test it on Windows (see #222) |
It seems to work because I got the following. λ npx ts-to-zod --help
Generate Zod schemas from a Typescript file
USAGE
$ ts-to-zod --all
$ ts-to-zod --config example
$ ts-to-zod --config example/person
$ ts-to-zod --config config
ARGUMENTS
INPUT input file (typescript)
OUTPUT output file (zod schemas)
FLAGS
-a, --all Execute all configs
-c, --config=<option> Execute one config
<options: example|example/person|config>
-h, --help Show CLI help.
-i, --init Create a ts-to-zod.config.js file
-k, --keepComments Keep parameters comments
-v, --version Show CLI version.
-w, --watch Watch input file(s) for changes and re-run related task
--inferredTypes=<value> Path of z.infer<> types file
--skipParseJSDoc Skip the creation of zod validators from JSDoc annotations
--skipValidation Skip the validation step (not recommended)
DESCRIPTION
Generate Zod schemas from a Typescript file
EXAMPLES
$ ts-to-zod src/types.ts src/types.zod.ts Though, I could not test with |
Bug description
The help of ts-to-zod is not accessible.
Input
On Windows 10, I use Cmder and run the following commands :
Expected output
The help of the command line.
Actual output
Versions
v5.3.3
v3.22.4
v3.6.0
The text was updated successfully, but these errors were encountered: