The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Add some missing descriptions to the CLI reference docs (#35434)
Tyler7bf04545d812
diff --git a/.gitignore b/.gitignoreindex b6ce235b350..e7cd51f7258 100644--- a/.gitignore+++ b/.gitignore@@ -133,3 +133,6 @@ gcloud.json# sitemaps# apps/www/public/*.xml# apps/docs/public/*.xml++# CLI version file+.temp/cli-latestdiff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yamlindex 47e47d7fa86..77a8a503195 100644--- a/apps/docs/spec/cli_v1_commands.yaml+++ b/apps/docs/spec/cli_v1_commands.yaml@@ -904,6 +904,17 @@ commands:- id: supabase-secretstitle: supabase secretssummary: Manage Supabase secrets+ description: |+ Provides tools for managing environment variables and secrets for your Supabase project.++ This command group allows you to set, unset, and list secrets that are securely stored and+ made available to Edge Functions as environment variables.++ Secrets management through the CLI is useful for:+ - Setting environment-specific configuration+ - Managing sensitive credentials securely++ Secrets can be set individually or loaded from .env files for convenience.tags:- management-apilinks: []@@ -958,6 +969,15 @@ commands:- id: supabase-projectstitle: supabase projectssummary: Manage Supabase projects+ description: |+ Provides tools for creating and managing your Supabase projects.++ This command group allows you to list all projects in your organizations, create new projects,+ delete existing projects, and retrieve API keys. These operations help you manage your Supabase+ infrastructure programmatically without using the dashboard.++ Project management via CLI is especially useful for automation scripts and when you need to+ provision environments in a repeatable way.tags:- management-apilinks: []@@ -2492,6 +2512,17 @@ commands:- id: supabase-gen-typestitle: supabase gen typessummary: Generate types from Postgres schema+ description: |+ Automatically generates type definitions based on your Postgres database schema.++ This command connects to your database (local or remote) and generates typed definitions+ that match your database tables, views, and stored procedures. By default, it generates TypeScript+ definitions, but also supports Go and Swift.++ Generated types give you type safety and autocompletion when working with your database in code,+ helping prevent runtime errors and improving developer experience.++ The types respect relationships, constraints, and custom types defined in your database schema.tags: []links: []usage: supabase gen types [flags]@@ -2571,6 +2602,14 @@ commands:- id: supabase-functionstitle: supabase functionssummary: Manage Supabase Edge functions+ description: |+ Supabase Edge Functions are server-less functions that run close to your users.++ Edge Functions allow you to execute custom server-side code without deploying or scaling a traditional server.+ They're ideal for handling webhooks, custom API endpoints, data validation, and serving personalized content.++ Edge Functions are written in TypeScript and run on Deno compatible edge runtime, which is a secure runtime+ with no package management needed, fast cold starts, and built-in security.tags:- management-apilinks: []@@ -2656,6 +2695,15 @@ commands:- id: supabase-functions-newtitle: supabase functions newsummary: Create a new Function locally+ description: |+ Creates a new Edge Function with boilerplate code in the `supabase/functions` directory.++ This command generates a starter TypeScript file with the necessary Deno imports and a+ basic function structure. The function is created as a new directory with the name you specify,+ containing an `index.ts` file with the function code.++ After creating the function, you can edit it locally and then use `supabase functions serve`+ to test it before deploying with `supabase functions deploy`.tags: []links: []usage: supabase functions new <Function name>@@ -3384,6 +3432,10 @@ commands:- id: supabase-config-pushtitle: supabase config pushsummary: Pushes local config.toml to the linked project+ description: |+ Updates the configurations of a linked Supabase project with the local `supabase/config.toml` file.++ This command allows you to manage project configuration as code by defining settings locally and then pushing them to your remote project.tags: []links: []usage: supabase config push