The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: update cli commands
Div Arora4e4cb795506b
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yamlindex f3eab57370e..daa118a4c27 100644--- a/spec/cli_v1_commands.yaml+++ b/spec/cli_v1_commands.yaml@@ -1,4 +1,4 @@-clispec: '001'+clispec: "001"info:id: cliversion: 1.14.3@@ -20,20 +20,89 @@ flags:- id: debugname: --debugdescription: output debug logs to stderr- default_value: 'false'+ default_value: "false"- id: experimentalname: --experimentaldescription: enable experimental features- default_value: 'false'+ default_value: "false"- id: helpname: -h, --helpdescription: help for supabase- default_value: 'false'+ default_value: "false"- id: workdirname: --workdir <string>description: path to a Supabase project directory- default_value: ''+ default_value: ""commands:+ - id: supabase-vanity-subdomains+ title: supabase vanity-subdomains+ summary: Manage vanity subdomains for Supabase projects+ description: |-+ Manage vanity subdomains for Supabase projects.++ Usage of vanity subdomains and custom domains is mutually exclusive.+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-vanity-subdomains-activate+ - supabase-vanity-subdomains-check-availability+ - supabase-vanity-subdomains-delete+ - supabase-vanity-subdomains-get+ flags:+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ""+ - id: supabase-vanity-subdomains-get+ title: supabase vanity-subdomains get+ summary: Get the current vanity subdomain+ tags: []+ links: []+ usage: supabase vanity-subdomains get+ subcommands: []+ flags: []+ - id: supabase-vanity-subdomains-delete+ title: supabase vanity-subdomains delete+ summary: Deletes a project's vanity subdomain+ description: |+ Deletes the vanity subdomain for a project, and reverts to using the project ref for routing.+ tags: []+ links: []+ usage: supabase vanity-subdomains delete+ subcommands: []+ flags: []+ - id: supabase-vanity-subdomains-check-availability+ title: supabase vanity-subdomains check-availability+ summary: Checks if a desired subdomain is available for use+ tags: []+ links: []+ usage: supabase vanity-subdomains check-availability [flags]+ subcommands: []+ flags:+ - id: desired-subdomain+ name: --desired-subdomain <string>+ description: |+ The desired vanity subdomain to use for your Supabase project.+ default_value: ""+ - id: supabase-vanity-subdomains-activate+ title: supabase vanity-subdomains activate+ summary: Activate a vanity subdomain+ description: |+ Activate a vanity subdomain for your Supabase project.++ This reconfigures your Supabase project to respond to requests on your vanity subdomain.+ After the vanity subdomain is activated, your project's auth services will no longer function on the {project-ref}.{supabase-domain} hostname.+ tags: []+ links: []+ usage: supabase vanity-subdomains activate [flags]+ subcommands: []+ flags:+ - id: desired-subdomain+ name: --desired-subdomain <string>+ description: |+ The desired vanity subdomain to use for your Supabase project.+ default_value: ""- id: supabase-testtitle: supabase testsummary: Run tests on local Supabase containers@@ -63,7 +132,7 @@ commands:- id: backupname: --backupdescription: Backs up the current database before stopping.- default_value: 'false'+ default_value: "false"- id: supabase-statustitle: supabase statussummary: Show status of local Supabase containers@@ -74,25 +143,25 @@ commands:subcommands: []flags:- id: output- name: -o, --output <string>+ name: -o, --output <[ env | json | pretty | toml | yaml ]>description: Output format of status variables.default_value: prettyaccepted_values:- id: envname: env- type: string+ type: '[ env | json | pretty | toml | yaml ]'- id: jsonname: json- type: string+ type: '[ env | json | pretty | toml | yaml ]'- id: prettyname: pretty- type: string+ type: '[ env | json | pretty | toml | yaml ]'- id: tomlname: toml- type: string+ type: '[ env | json | pretty | toml | yaml ]'- id: yamlname: yaml- type: string+ type: '[ env | json | pretty | toml | yaml ]'- id: override-namename: --override-name <strings>description: Override specific variable names.@@ -103,9 +172,14 @@ commands:tags:- local-devlinks: []- usage: supabase start+ usage: supabase start [flags]subcommands: []- flags: []+ flags:+ - id: exclude+ name: -x, --exclude <strings>+ 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: supabase-secretstitle: supabase secretssummary: Manage Supabase secrets@@ -138,7 +212,7 @@ commands:- id: env-filename: --env-file <string>description: Read secrets from a .env file.- default_value: ''+ default_value: ""- id: supabase-secrets-listtitle: supabase secrets listsummary: List all secrets on Supabase@@ -178,39 +252,36 @@ commands:- id: db-passwordname: --db-password <string>description: Database password of the project.- default_value: ''+ default_value: ""- id: interactivename: -i, --interactivedescription: Enables interactive mode.- default_value: 'false'+ default_value: "false"- id: org-idname: --org-id <string>description: Organization ID to create the project in.- default_value: ''+ default_value: ""- id: plan- name: --plan <string>+ name: --plan <[ free | pro ]>description: Select a plan that suits your needs.default_value: freeaccepted_values:- id: freename: free- type: string+ type: '[ free | pro ]'- id: proname: pro- type: string+ type: '[ free | pro ]'- id: regionname: --region <string>description: Select a region close to you for the best performance.- default_value: ''+ default_value: ""accepted_values:- - id: ca-central-1- name: ca-central-1- type: string- - id: eu-west-2- name: eu-west-2+ - id: ap-northeast-1+ name: ap-northeast-1type: string- - id: us-east-1- name: us-east-1+ - id: ap-northeast-2+ name: ap-northeast-2type: string- id: ap-south-1name: ap-south-1@@ -221,24 +292,30 @@ commands:- id: ap-southeast-2name: ap-southeast-2type: string+ - id: ca-central-1+ name: ca-central-1+ type: string+ - id: eu-central-1+ name: eu-central-1+ type: string- id: eu-west-1name: eu-west-1type: string+ - id: eu-west-2+ name: eu-west-2+ type: string+ - id: eu-west-3+ name: eu-west-3+ type: string- id: sa-east-1name: sa-east-1type: string+ - id: us-east-1+ name: us-east-1+ type: string- id: us-west-1name: us-west-1type: string- - id: ap-northeast-1- name: ap-northeast-1- type: string- - id: ap-northeast-2- name: ap-northeast-2- type: string- - id: eu-central-1- name: eu-central-1- type: string- id: supabase-orgstitle: supabase orgssummary: Manage Supabase organizations@@ -257,6 +334,44 @@ commands:usage: supabase orgs listsubcommands: []flags: []+ - id: supabase-network-restrictions+ title: supabase network-restrictions+ summary: Manage network restrictions+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-network-restrictions-get+ - supabase-network-restrictions-update+ flags:+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ""+ - id: supabase-network-restrictions-update+ title: supabase network-restrictions update+ summary: Update network restrictions+ tags: []+ links: []+ usage: supabase network-restrictions update [flags]+ subcommands: []+ flags:+ - id: bypass-cidr-checks+ name: --bypass-cidr-checks+ description: Bypass some of the CIDR validation checks.+ default_value: "false"+ - id: db-allow-cidr+ name: --db-allow-cidr <strings>+ description: CIDR to allow DB connections from.+ default_value: '[]'+ - id: supabase-network-restrictions-get+ title: supabase network-restrictions get+ summary: Get the current network restrictions+ tags: []+ links: []+ usage: supabase network-restrictions get+ subcommands: []+ flags: []- id: supabase-migrationtitle: supabase migrationsummary: Manage database migration scripts@@ -266,7 +381,28 @@ commands:subcommands:- supabase-migration-list- supabase-migration-new+ - supabase-migration-repairflags: []+ - id: supabase-migration-repair+ title: supabase migration repair+ summary: Repairs the migration history table+ tags: []+ links: []+ usage: supabase migration repair <version> [flags]+ subcommands: []+ flags:+ - id: status+ name: --status <[ applied | reverted ]>+ description: Version status to update.+ required: true+ default_value: ""+ accepted_values:+ - id: applied+ name: applied+ type: '[ applied | reverted ]'+ - id: reverted+ name: reverted+ type: '[ applied | reverted ]'- id: supabase-migration-newtitle: supabase migration newsummary: Create an empty migration script@@ -286,7 +422,7 @@ commands:- id: passwordname: -p, --password <string>description: Password to your remote Postgres database.- default_value: ''+ default_value: ""- id: supabase-logintitle: supabase loginsummary: Authenticate using an access token@@ -308,12 +444,12 @@ commands:- id: passwordname: -p, --password <string>description: Password to your remote Postgres database.- default_value: ''+ default_value: ""- id: project-refname: --project-ref <string>description: Project ref of the Supabase project.required: true- default_value: ''+ default_value: ""- id: supabase-inittitle: supabase initsummary: Initialize a local project@@ -353,19 +489,19 @@ commands:- id: db-urlname: --db-url <string>description: Generate types from a database url.- default_value: ''+ default_value: ""- id: linkedname: --linkeddescription: Generate types from the linked project.- default_value: 'false'+ default_value: "false"- id: localname: --localdescription: Generate types from the local dev database.- default_value: 'false'+ default_value: "false"- id: project-idname: --project-id <string>description: Generate types from a project ID.- default_value: ''+ default_value: ""- id: schemaname: --schema <stringArray>description: Schemas to generate types for.@@ -394,11 +530,11 @@ commands:name: --env-file <string>description: |Path to an env file to be populated to the Function environment.- default_value: ''+ default_value: ""- id: no-verify-jwtname: --no-verify-jwtdescription: Disable JWT verification for the Function.- default_value: 'false'+ default_value: "false"- id: supabase-functions-newtitle: supabase functions newsummary: Create a new Function locally@@ -419,15 +555,15 @@ commands:- id: legacy-bundlename: --legacy-bundledescription: Use legacy bundling mechanism.- default_value: 'false'+ default_value: "false"- id: no-verify-jwtname: --no-verify-jwtdescription: Disable JWT verification for the Function.- default_value: 'false'+ default_value: "false"- id: project-refname: --project-ref <string>description: Project ref of the Supabase project.- default_value: ''+ default_value: ""- id: supabase-functions-deletetitle: supabase functions deletesummary: Delete a Function from Supabase@@ -441,10 +577,14 @@ commands:- id: project-refname: --project-ref <string>description: Project ref of the Supabase project.- default_value: ''+ default_value: ""- id: supabase-domainstitle: supabase domainssummary: Manage custom domain names for Supabase projects+ description: |+ Manage custom domain names for Supabase projects.++ Use of custom domains and vanity subdomains is mutually exclusive.tags:- management-apilinks: []@@ -458,14 +598,14 @@ commands:- id: include-raw-outputname: --include-raw-outputdescription: Include raw output (useful for debugging).- default_value: 'false'+ default_value: "false"- id: project-refname: --project-ref <string>description: Project ref of the Supabase project.- default_value: ''+ default_value: ""- id: supabase-domains-reverifytitle: supabase domains reverify- summary: Re-verify the custom hostname config for your project.+ summary: Re-verify the custom hostname config for your projecttags: []links: []usage: supabase domains reverify@@ -473,7 +613,7 @@ commands:flags: []- id: supabase-domains-gettitle: supabase domains get- summary: Get the current custom hostname config.+ summary: Get the current custom hostname configdescription: |Retrieve the custom hostname config for your project, as stored in the Supabase platform.tags: []@@ -483,7 +623,7 @@ commands:flags: []- id: supabase-domains-deletetitle: supabase domains delete- summary: Deletes the custom hostname config for your project.+ summary: Deletes the custom hostname config for your projecttags: []links: []usage: supabase domains delete@@ -491,7 +631,7 @@ commands:flags: []- id: supabase-domains-createtitle: supabase domains create- summary: Create a custom hostname.+ summary: Create a custom hostnamedescription: |-Create a custom hostname for your Supabase project.@@ -504,10 +644,10 @@ commands:- id: custom-hostnamename: --custom-hostname <string>description: The custom hostname to use for your Supabase project.- default_value: ''+ default_value: ""- id: supabase-domains-activatetitle: supabase domains activate- summary: Activate the custom hostname for a project.+ summary: Activate the custom hostname for a projectdescription: |-Activates the custom hostname configuration for a project.@@ -530,6 +670,15 @@ commands:- supabase-db-push- supabase-db-remote- supabase-db-reset+ - supabase-db-start+ flags: []+ - id: supabase-db-start+ title: supabase db start+ summary: Starts local Postgres database+ tags: []+ links: []+ usage: supabase db start+ subcommands: []flags: []- id: supabase-db-resettitle: supabase db reset@@ -545,13 +694,12 @@ commands:tags: []links: []subcommands:- - supabase-db-remote-changes- supabase-db-remote-commitflags:- id: passwordname: -p, --password <string>description: Password to your remote Postgres database.- default_value: ''+ default_value: ""- id: supabase-db-remote-committitle: supabase db remote commitsummary: Commit remote changes as a new migration@@ -560,15 +708,6 @@ commands:usage: supabase db remote commitsubcommands: []flags: []- - id: supabase-db-remote-changes- title: supabase db remote changes- summary: Show changes on the remote database- description: Show changes on the remote database since last migration.- tags: []- links: []- usage: supabase db remote changes- subcommands: []- flags: []- id: supabase-db-pushtitle: supabase db pushsummary: Push new migrations to the remote database@@ -581,11 +720,11 @@ commands:name: --dry-rundescription: |Print the migrations that would be applied, but don't actually apply them.- default_value: 'false'+ default_value: "false"- id: passwordname: -p, --password <string>description: Password to your remote Postgres database.- default_value: ''+ default_value: ""- id: supabase-db-linttitle: supabase db lintsummary: Checks local database for typing error@@ -595,16 +734,16 @@ commands:subcommands: []flags:- id: level- name: --level <string>+ name: --level <[ warning | error ]>description: Error level to emit.default_value: warningaccepted_values:- id: warningname: warning- type: string+ type: '[ warning | error ]'- id: errorname: error- type: string+ type: '[ warning | error ]'- id: schemaname: -s, --schema <strings>description: List of schema to include.@@ -620,11 +759,11 @@ commands:- id: filename: -f, --file <string>description: Saves schema diff to a file.- default_value: ''+ default_value: ""- id: linkedname: --linkeddescription: Diffs local schema against linked project.- default_value: 'false'+ default_value: "false"- id: schemaname: -s, --schema <strings>description: List of schema to include.@@ -632,7 +771,7 @@ commands:- id: use-migraname: --use-migradescription: Use migra to generate schema diff.- default_value: 'false'+ default_value: "false"- id: supabase-completiontitle: supabase completionsummary: Generate the autocompletion script for the specified shell@@ -682,7 +821,7 @@ commands:- id: no-descriptionsname: --no-descriptionsdescription: disable completion descriptions- default_value: 'false'+ default_value: "false"- id: supabase-completion-powershelltitle: supabase completion powershellsummary: Generate the autocompletion script for powershell@@ -703,7 +842,7 @@ commands:- id: no-descriptionsname: --no-descriptionsdescription: disable completion descriptions- default_value: 'false'+ default_value: "false"- id: supabase-completion-fishtitle: supabase completion fishsummary: Generate the autocompletion script for fish@@ -727,7 +866,7 @@ commands:- id: no-descriptionsname: --no-descriptionsdescription: disable completion descriptions- default_value: 'false'+ default_value: "false"- id: supabase-completion-bashtitle: supabase completion bashsummary: Generate the autocompletion script for bash@@ -760,4 +899,4 @@ commands:- id: no-descriptionsname: --no-descriptionsdescription: disable completion descriptions- default_value: 'false'+ default_value: "false"