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

CLI "-e" flag not working #95

Open
p-dros opened this issue Jan 21, 2024 · 1 comment
Open

CLI "-e" flag not working #95

p-dros opened this issue Jan 21, 2024 · 1 comment

Comments

@p-dros
Copy link

p-dros commented Jan 21, 2024

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

@patmood
Copy link
Owner

patmood commented Feb 27, 2024

Thanks for flagging. Looks like this probably conflicts with the --email option. I'll remove the short hand option and only allow --env

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