Skip to content

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

chore: add new cli command sections

Qiao Hana3db374820df
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index a1dd8615255..7b9475814f7 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -191,6 +191,12 @@
"slug": "supabase-migration-repair",
"type": "cli-command"
},
+ {
+ "id": "supabase-migration-squash",
+ "title": "Squash migrations to a single file",
+ "slug": "supabase-migration-squash",
+ "type": "cli-command"
+ },
{
"id": "supabase-migration-up",
"title": "Apply pending migrations locally",
@@ -199,6 +205,36 @@
}
]
},
+ {
+ "type": "category",
+ "title": "Inspect",
+ "items": [
+ {
+ "id": "supabase-inspect",
+ "title": "Inspect database status",
+ "slug": "supabase-inspect",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db:cache-hit",
+ "title": "Show cache hit rates for tables and indexes",
+ "slug": "supabase-inspect-db:cache-hit",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db:index-usage",
+ "title": "Show usage efficiency of indexes",
+ "slug": "supabase-inspect-db:index-usage",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db:replication-slots",
+ "title": "Show information about replication slots",
+ "slug": "supabase-inspect-db:replication-slots",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"type": "category",
"title": "Projects",
@@ -220,6 +256,12 @@
"title": "List all projects",
"slug": "supabase-projects-list",
"type": "cli-command"
+ },
+ {
+ "id": "supabase-projects-api-keys",
+ "title": "Show API keys for a Supabase project",
+ "slug": "supabase-projects-api-keys",
+ "type": "cli-command"
}
]
},
@@ -257,6 +299,12 @@
"slug": "supabase-functions-new",
"type": "cli-command"
},
+ {
+ "id": "supabase-functions-list",
+ "title": "List all functions",
+ "slug": "supabase-functions-list",
+ "type": "cli-command"
+ },
{
"id": "supabase-functions-download",
"title": "Download a function",
@@ -323,6 +371,12 @@
"slug": "supabase-sso",
"type": "cli-command"
},
+ {
+ "id": "supabase-sso-add",
+ "title": "Add an identity provider",
+ "slug": "supabase-sso-add",
+ "type": "cli-command"
+ },
{
"id": "supabase-sso-list",
"title": "List all identity providers",
@@ -336,9 +390,9 @@
"type": "cli-command"
},
{
- "id": "supabase-sso-add",
- "title": "Add an identity provider",
- "slug": "supabase-sso-add",
+ "id": "supabase-sso-info",
+ "title": "See your project's SSO information",
+ "slug": "supabase-sso-info",
"type": "cli-command"
},
{
@@ -352,12 +406,6 @@
"title": "Remove an identity provider",
"slug": "supabase-sso-remove",
"type": "cli-command"
- },
- {
- "id": "supabase-sso-info",
- "title": "See your project's SSO information",
- "slug": "supabase-sso-info",
- "type": "cli-command"
}
]
},
@@ -493,24 +541,48 @@
"items": [
{
"id": "supabase-ssl-enforcement",
- "title": "Manage SSL enforcement configuration",
+ "title": "Manage SSL enforcement configurations",
"slug": "supabase-ssl-enforcement",
"type": "cli-command"
},
{
"id": "supabase-ssl-enforcement-get",
- "title": "Get the current SSL enforcement configuration",
+ "title": "Get the current SSL enforcement configurations",
"slug": "supabase-ssl-enforcement-get",
"type": "cli-command"
},
{
"id": "supabase-ssl-enforcement-update",
- "title": "Update SSL enforcement configuration",
+ "title": "Update SSL enforcement configurations",
"slug": "supabase-ssl-enforcement-update",
"type": "cli-command"
}
]
},
+ {
+ "type": "category",
+ "title": "Postgres Config",
+ "items": [
+ {
+ "id": "supabase-postgres-config",
+ "title": "Manage Postgres configurations",
+ "slug": "supabase-ssl-enforcement",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-postgres-config-get",
+ "title": "Get the current Postgres config overrides",
+ "slug": "supabase-postgres-config-get",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-postgres-config-update",
+ "title": "Update Postgres configurations",
+ "slug": "supabase-postgres-config-update",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"type": "category",
"title": "Autocompletion Scripts",