Generating TypeScript types for remote database

I want to generate types for the cloud database tables I have hosted with Supabase. In the docs, I saw this script:
supabase start
supabase gen types typescript --local > lib/database.types.ts


The question is: How do I get this to use the types for tables in my remote database? When I ran the commands as seen above, it generated types for a new local database.

I haven't found a way to specificy which db I want to generate the types for in the Supabase docs.
Was this page helpful?