Open p-dros opened 10 months ago
Describe the bug Pocketbase Typegen CLI is not correctly parsing -e flag.
-e
Not Working:
pnpm dlx pocketbase-typegen -e ./.env.local --out ./src/types/pocketbase.ts (...) Missing schema path. Check options: pocketbase-typegen --help
Working
pnpm dlx pocketbase-typegen --env ./.env.local --out ./src/types/pocketbase.ts (...) Created typescript definitions at ./src/types/pocketbase.ts
Versions pocketbase-typegen version: v1.2.1
Thanks for flagging. Looks like this probably conflicts with the --email option. I'll remove the short hand option and only allow --env
--email
--env
Describe the bug Pocketbase Typegen CLI is not correctly parsing
-e
flag.Not Working:
Working
Versions pocketbase-typegen version: v1.2.1