pocketbase-typegen
pocketbase-typegen copied to clipboard
CLI "-e" flag not working
Describe the bug
Pocketbase Typegen CLI is not correctly parsing -e
flag.
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