The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: updated CLI docs
Lakshan Perera96bf5da6d529
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yamlindex c15f3125a2d..a63a953750c 100644--- a/spec/cli_v1_commands.yaml+++ b/spec/cli_v1_commands.yaml@@ -206,7 +206,7 @@ commands:SERVICE_ROLE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU"STUDIO_URL="http://localhost:54323"- id: output-custom-name- name: Customize the names of exported variables+ name: Customise the names of exported variablescode: supabase status -o env --override-name auth.anon_key=SUPABASE_ANON_KEY --override-name auth.service_role_key=SUPABASE_SERVICE_KEYresponse: |Stopped services: [supabase_inbucket_cli supabase_rest_cli supabase_studio_cli]@@ -247,12 +247,15 @@ commands:- id: supabase-starttitle: supabase startsummary: Start containers for Supabase local development- description: |-+ description: |2+Starts the Supabase local development stack.Requires `supabase/config.toml` to be created in your current working directory by running `supabase init`.All service containers are started by default. You can exclude those not needed by passing in `-x` flag.++ Health checks are automatically added to verify the started containers. Use `--ignore-health-check` flag to ignore these errors.examples:- id: basic-usagename: Basic usage@@ -268,6 +271,13 @@ commands:Excluding container: supabase/studio:20221214-4eecc99Seeding data supabase/seed.sql...Started supabase local development setup.+ - id: ignore-health-check+ name: Ignore service health checks+ code: supabase start --ignore-health-check+ response: |+ Seeding data supabase/seed.sql...+ service not healthy: [supabase_storage_cli]+ Started supabase local development setup.tags:- local-devlinks: []@@ -279,6 +289,10 @@ commands:description: |Names of containers to not start. [gotrue, realtime, storage-api, imgproxy, kong, inbucket, postgrest, pgadmin-schema-diff, migra, postgres-meta, studio, deno-relay]default_value: '[]'+ - id: ignore-health-check+ name: --ignore-health-check+ description: Ignore unhealthy services and exit 0+ default_value: 'false'- id: supabase-secretstitle: supabase secretssummary: Manage Supabase secrets@@ -595,7 +609,8 @@ commands:- id: supabase-logintitle: supabase loginsummary: Authenticate using an access token- description: |-+ description: |2+Connect the Supabase CLI to your Supabase account by logging in with your [personal access token](https://app.supabase.com/account/tokens).Your access token is stored securely in [native credentials storage](https://github.com/zalando/go-keyring#dependencies). If native credentials storage is unavailable, it will be written to a plain text file at `~/.supabase/access-token`.@@ -620,7 +635,8 @@ commands:- id: supabase-linktitle: supabase linksummary: Link to a Supabase project- description: |-+ description: |2+Link your local development project to a hosted Supabase project.PostgREST configurations are fetched from the Supabase platform and validated against your local configuration file.@@ -659,7 +675,8 @@ commands:- id: supabase-inittitle: supabase initsummary: Initialize a local project- description: |-+ description: |2+Initialize configurations for Supabase local development.A `supabase/config.toml` file is created in your current working directory. This configuration is specific to each local project.@@ -673,7 +690,7 @@ commands:code: supabase initresponse: Finished supabase init.- id: from-workdir- name: Initialize from an existing directory+ name: Initialise from an existing directorycode: supabase init --workdir .response: Finished supabase init.tags:@@ -738,6 +755,7 @@ commands:subcommands:- supabase-functions-delete- supabase-functions-deploy+ - supabase-functions-download- supabase-functions-new- supabase-functions-serveflags: []@@ -770,6 +788,20 @@ commands:usage: supabase functions new <Function name>subcommands: []flags: []+ - id: supabase-functions-download+ title: supabase functions download+ summary: Download a Function from Supabase+ description: |+ Download source code of a Function from the linked Supabase project.+ tags: []+ links: []+ usage: supabase functions download <Function name> [flags]+ subcommands: []+ flags:+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ''- id: supabase-functions-deploytitle: supabase functions deploysummary: Deploy a Function to Supabasediff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.jsonindex 1407e6fa344..bbd5c2fa0df 100644--- a/spec/common-cli-sections.json+++ b/spec/common-cli-sections.json@@ -248,6 +248,12 @@"title": "Delete a function","slug": "supabase-functions-delete","type": "cli-command"+ },+ {+ "id": "supabase-functions-download",+ "title": "supabase functions download",+ "slug": "supabase-functions-download",+ "type": "cli-command"}]},