-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hi, would be cool to not have the cli forced to work on wrangler.toml file, but ideally to be able to provide where's the file, and if not provided, defaults to toml with json/jsonc fallback.
I got an error thrown from this line:
https://github.com/zpg6/better-auth-cloudflare/blob/a8957af938cabe80b2db85531edcfa798087ec94/cli/src/commands/migrate-tenants.ts#L370C45-L370C58
┌ Better Auth Cloudflare vunknown · migrate:tenants
│
└ No wrangler.toml found. Please run this command from a Cloudflare Workers project directory.
Current workaround:
I'm maintaining in sync two files wrangler.jsonc (with the syntax i like for my project) and wrangler.toml (rappresenting exactly the .jsonc version, so that migrate:tenants works)
Metadata
Metadata
Assignees
Labels
No labels