Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update cli reference doc (#18263)

Copple4d1fd582c942
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yaml
index 2a2ef2dfd15..90641c546e2 100644
--- a/spec/cli_v1_commands.yaml
+++ b/spec/cli_v1_commands.yaml
@@ -1,7 +1,7 @@
clispec: '001'
info:
id: cli
- version: 1.100.1
+ version: 1.106.1
title: Supabase CLI
language: sh
source: https://github.com/supabase/cli
@@ -867,6 +867,7 @@ commands:
subcommands:
- supabase-projects-api-keys
- supabase-projects-create
+ - supabase-projects-delete
- supabase-projects-list
flags: []
- id: supabase-projects-list
@@ -878,6 +879,14 @@ commands:
usage: supabase projects list
subcommands: []
flags: []
+ - id: supabase-projects-delete
+ title: supabase projects delete
+ summary: Delete a Supabase project
+ tags: []
+ links: []
+ usage: supabase projects delete <ref>
+ subcommands: []
+ flags: []
- id: supabase-projects-create
title: supabase projects create
summary: Create a project on Supabase
@@ -2379,6 +2388,40 @@ commands:
name: --project-ref <string>
description: Project ref of the Supabase project.
default_value: ''
+ - id: supabase-encryption
+ title: supabase encryption
+ summary: Manage encryption keys of Supabase projects
+ tags:
+ - management-api
+ links: []
+ subcommands:
+ - supabase-encryption-get-root-key
+ - supabase-encryption-update-root-key
+ flags: []
+ - id: supabase-encryption-update-root-key
+ title: supabase encryption update-root-key
+ summary: Update root encryption key of a Supabase project
+ tags: []
+ links: []
+ usage: supabase encryption update-root-key
+ subcommands: []
+ flags:
+ - id: project-ref
+ name: --project-ref <string>
+ description: Project ref of the Supabase project.
+ default_value: ''
+ - id: supabase-encryption-get-root-key
+ title: supabase encryption get-root-key
+ summary: Get the root encryption key of a Supabase project
+ tags: []
+ links: []
+ usage: supabase encryption get-root-key
+ subcommands: []
+ flags:
+ - id: project-ref
+ name: --project-ref <string>
+ description: Project ref of the Supabase project.
+ default_value: ''
- id: supabase-domains
title: supabase domains
summary: Manage custom domain names for Supabase projects
@@ -2636,7 +2679,7 @@ commands:
summary: Pull schema from the remote database
description: |2
- Pulls schema changes from a remote database.
+ Pulls schema changes from a remote database. A new migration file will be created under `supabase/migrations` directory.
Requires your local project to be linked to a remote database by running `supabase link`. For self-hosted databases, you can pass in the connection parameters using `--db-url` flag.
@@ -2667,7 +2710,7 @@ commands:
default_value: ''
- id: schema
name: -s, --schema <strings>
- description: List of schema to include.
+ description: Comma separated list of schema to include.
default_value: all
- id: supabase-db-lint
title: supabase db lint
@@ -2737,7 +2780,7 @@ commands:
default_value: 'true'
- id: schema
name: -s, --schema <strings>
- description: List of schema to include.
+ description: Comma separated list of schema to include.
default_value: all
- id: supabase-db-dump
title: supabase db dump
@@ -2814,7 +2857,7 @@ commands:
default_value: 'false'
- id: schema
name: -s, --schema <strings>
- description: List of schema to include.
+ description: Comma separated list of schema to include.
default_value: all
- id: use-copy
name: --use-copy
@@ -2895,7 +2938,7 @@ commands:
default_value: 'true'
- id: schema
name: -s, --schema <strings>
- description: List of schema to include.
+ description: Comma separated list of schema to include.
default_value: all
- id: use-migra
name: --use-migra
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index ab342fefa6a..3e43ccd9595 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -360,17 +360,11 @@
"title": "Show API keys for a project",
"slug": "supabase-projects-api-keys",
"type": "cli-command"
- }
- ]
- },
- {
- "type": "category",
- "title": "Services",
- "items": [
+ },
{
- "id": "supabase-services",
- "title": "Show versions of all Supabase services",
- "slug": "supabase-services",
+ "id": "supabase-projects-delete",
+ "title": "Delete a project",
+ "slug": "supabase-projects-delete",
"type": "cli-command"
}
]
@@ -525,6 +519,30 @@
}
]
},
+ {
+ "type": "category",
+ "title": "Encryption",
+ "items": [
+ {
+ "id": "supabase-encryption",
+ "title": "Manage encryption keys",
+ "slug": "supabase-encryption",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-encryption-get-root-key",
+ "title": "Retrieve the root encryption key",
+ "slug": "supabase-encryption-get-root-key",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-encryption-update-root-key",
+ "title": "Update root encryption key",
+ "slug": "supabase-encryption-update-root-key",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"type": "category",
"title": "Authentication",
@@ -711,7 +729,7 @@
},
{
"id": "supabase-ssl-enforcement-get",
- "title": "Get the current SSL enforcement configurations",
+ "title": "Retrieve the current SSL enforcement configurations",
"slug": "supabase-ssl-enforcement-get",
"type": "cli-command"
},
@@ -735,7 +753,7 @@
},
{
"id": "supabase-postgres-config-get",
- "title": "Get the current Postgres config overrides",
+ "title": "Retrieve the current Postgres config overrides",
"slug": "supabase-postgres-config-get",
"type": "cli-command"
},
@@ -771,6 +789,18 @@
}
]
},
+ {
+ "type": "category",
+ "title": "Services",
+ "items": [
+ {
+ "id": "supabase-services",
+ "title": "Show versions of all Supabase services",
+ "slug": "supabase-services",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"type": "category",
"title": "Autocompletion Scripts",