From aa067ad6c635266cd2056c262eb8ee1987a2d900 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Tue, 6 Feb 2024 03:21:27 +0100 Subject: [PATCH] chore: update cli reference doc (#21034) --- apps/docs/spec/cli_v1_commands.yaml | 34 +++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yaml index e9bcaddbf65..89450174217 100644 --- a/apps/docs/spec/cli_v1_commands.yaml +++ b/apps/docs/spec/cli_v1_commands.yaml @@ -1,7 +1,7 @@ clispec: '001' info: id: cli - version: 1.131.5 + version: 1.142.1 title: Supabase CLI language: sh source: https://github.com/supabase/cli @@ -150,6 +150,15 @@ commands: name: --project-ref description: Project ref of the Supabase project. default_value: '' + - id: supabase-unlink + title: supabase unlink + summary: Unlink a Supabase project + tags: + - local-dev + links: [] + usage: supabase unlink + subcommands: [] + flags: [] - id: supabase-test title: supabase test summary: Run tests on local Supabase containers @@ -287,6 +296,18 @@ commands: usage: supabase storage cp [flags] subcommands: [] flags: + - id: cache-control + name: --cache-control + description: Custom Cache-Control header for HTTP upload. + default_value: max-age=3600 + - id: content-type + name: --content-type + description: Custom Content-Type header for HTTP upload. + default_value: auto-detect + - id: jobs + name: -j, --jobs + description: Maximum number of parallel jobs. + default_value: '1' - id: recursive name: -r, --recursive description: Recursively copy a directory. @@ -1386,7 +1407,7 @@ commands: Repaired migration history: 20230222032233 => applied tags: [] links: [] - usage: supabase migration repair [flags] + usage: supabase migration repair [version] ... [flags] subcommands: [] flags: - id: db-url @@ -2362,6 +2383,11 @@ commands: name: --local description: Generate types from the local dev database. default_value: 'false' + - id: postgrest-v9-compat + name: --postgrest-v9-compat + description: | + Generate types compatible with PostgREST v9 and below. Only use together with --db-url. + default_value: 'false' - id: project-id name: --project-id description: Generate types from a project ID. @@ -2960,6 +2986,10 @@ commands: name: --dry-run description: Prints the pg_dump script that would be executed. default_value: 'false' + - id: exclude + name: -x, --exclude + description: List of schema.tables to exclude from data-only dump. + default_value: '[]' - id: file name: -f, --file description: File path to save the dumped contents.