Skip to content

gen types rejects --query-timeout #5275

@upadhyay192

Description

@upadhyay192

Describe the bug
supabase gen types --query-timeout <duration> fails immediately with Unrecognized flag: --query-timeout in command supabase gen types.

The command help also omits --query-timeout, even though the Go CLI reference still documents it for gen types.

To Reproduce

  1. Install or build the current shim-based CLI.
  2. Run:
supabase gen types --query-timeout 30s --linked
  1. Observe:
ERROR
  Unrecognized flag: --query-timeout in command supabase gen types

You can also confirm the missing flag via:

supabase gen types --help

--query-timeout is not listed in the command flags.

Expected behavior
supabase gen types --query-timeout <duration> should accept the flag and continue to execution instead of failing in argument parsing.

Screenshots
N/A

System information

  • Ticket ID: [from --create-ticket]
  • Version of OS: [fill in]
  • Version of CLI: [fill in]
  • Version of Docker: [fill in if applicable]
  • Versions of services: [output from supabase services if applicable]

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions