Skip to content

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

fix: update cli reference sections for new commands

Qiao Han23b389bdc41b
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index ba3c23a319f..eebe542b898 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -216,21 +216,117 @@
"type": "cli-command"
},
{
- "id": "supabase-inspect-db:cache-hit",
- "title": "Show cache hit rates for tables and indexes",
- "slug": "supabase-inspect-db:cache-hit",
+ "id": "supabase-inspect-db-bloat",
+ "title": "Estimates space allocated to a relation that is full of dead tuples",
+ "slug": "supabase-inspect-db-bloat",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db:index-usage",
- "title": "Show usage efficiency of indexes",
- "slug": "supabase-inspect-db:index-usage",
+ "id": "supabase-inspect-db-blocking",
+ "title": "Show queries that are holding locks and the queries that are waiting for them to be released",
+ "slug": "supabase-inspect-db-blocking",
"type": "cli-command"
},
{
- "id": "supabase-inspect-db:replication-slots",
- "title": "Show information about replication slots",
- "slug": "supabase-inspect-db:replication-slots",
+ "id": "supabase-inspect-db-cache-hit",
+ "title": "Show cache hit rates for tables and indices",
+ "slug": "supabase-inspect-db-cache-hit",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-calls",
+ "title": "Show queries from pg_stat_statements ordered by total times called",
+ "slug": "supabase-inspect-db-calls",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-index-sizes",
+ "title": "Show index sizes of individual indexes",
+ "slug": "supabase-inspect-db-index-sizes",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-index-usage",
+ "title": "Show information about the efficiency of indexes",
+ "slug": "supabase-inspect-db-index-usage",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-locks",
+ "title": "Show queries which have taken out an exclusive lock on a relation",
+ "slug": "supabase-inspect-db-locks",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-long-running-queries",
+ "title": "Show currently running queries running for longer than 5 minutes",
+ "slug": "supabase-inspect-db-long-running-queries",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-outliers",
+ "title": "Show queries from pg_stat_statements ordered by total execution time",
+ "slug": "supabase-inspect-db-outliers",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-replication-slots",
+ "title": "Show information about replication slots on the database",
+ "slug": "supabase-inspect-db-replication-slots",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-role-connections",
+ "title": "Show number of active connections for all database roles",
+ "slug": "supabase-inspect-db-role-connections",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-seq-scans",
+ "title": "Show number of sequential scans recorded against all tables",
+ "slug": "supabase-inspect-db-seq-scans",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-table-index-sizes",
+ "title": "Show index sizes of individual tables",
+ "slug": "supabase-inspect-db-table-index-sizes",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-table-record-counts",
+ "title": "Show estimated number of rows per table",
+ "slug": "supabase-inspect-db-table-record-counts",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-table-sizes",
+ "title": "Show table sizes of individual tables without their index sizes",
+ "slug": "supabase-inspect-db-table-sizes",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-total-index-size",
+ "title": "Show total size of all indexes",
+ "slug": "supabase-inspect-db-total-index-size",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-total-table-sizes",
+ "title": "Show total table sizes, including table index sizes",
+ "slug": "supabase-inspect-db-total-table-sizes",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-unused-indexes",
+ "title": "Show indexes with low usage",
+ "slug": "supabase-inspect-db-unused-indexes",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-inspect-db-vacuum-stats",
+ "title": "Show statistics related to vacuum operations per table",
+ "slug": "supabase-inspect-db-vacuum-stats",
"type": "cli-command"
}
]
@@ -265,6 +361,54 @@
}
]
},
+ {
+ "type": "category",
+ "title": "Branches",
+ "items": [
+ {
+ "id": "supabase-branches",
+ "title": "Manage preview branches",
+ "slug": "supabase-branches",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-create",
+ "title": "Create a preview branch for the linked project.",
+ "slug": "supabase-branches-create",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-get",
+ "title": "Retrieve details of the specified preview branch.",
+ "slug": "supabase-branches-get",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-list",
+ "title": "List all preview branches",
+ "slug": "supabase-branches-list",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-update",
+ "title": "Update a preview branch",
+ "slug": "supabase-branches-update",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-delete",
+ "title": "Delete a preview branch by its ID.",
+ "slug": "supabase-branches-delete",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-branches-disable",
+ "title": "Disable preview branching for the linked project.",
+ "slug": "supabase-branches-disable",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"type": "category",
"title": "Organizations",