Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
83d5a6d
fix: mount notification email templates
singh-inder Jan 25, 2026
7bc1166
return errors
singh-inder Jan 25, 2026
d6988c3
Merge branch 'develop' into fix/notification-email-templates
singh-inder Jan 27, 2026
d5b2a48
Merge branch 'develop' into fix/notification-email-templates
singh-inder Jan 28, 2026
60fb978
Merge branch 'develop' into fix/notification-email-templates
singh-inder Jan 29, 2026
593771f
Merge branch 'develop' into fix/notification-email-templates
singh-inder Jan 30, 2026
80cc22d
Merge branch 'develop' into fix/notification-email-templates
singh-inder Feb 2, 2026
1741451
Merge branch 'develop' into fix/notification-email-templates
singh-inder Mar 13, 2026
114a9dc
chore: sync API types from infrastructure (#4997)
supabase-cli-releaser[bot] Mar 27, 2026
7ee3f04
chore(deps): bump the actions-major group across 1 directory with 2 u…
dependabot[bot] Mar 28, 2026
eb3e9fd
chore(deps): bump github.com/oapi-codegen/runtime from 1.3.0 to 1.3.1…
dependabot[bot] Mar 28, 2026
6d2d022
Merge branch 'develop' into fix/notification-email-templates
singh-inder Mar 28, 2026
3f70e5a
fix: mount notification email templates (#4755)
jgoux Mar 30, 2026
cbd4fe6
chore(deps): bump the go-minor group across 1 directory with 3 update…
dependabot[bot] Apr 1, 2026
8ff4b5e
chore: sync API types from infrastructure (#5016)
supabase-cli-releaser[bot] Apr 1, 2026
2a04d16
fix: clarify db connection error for `Address not in tenant allow_lis…
samirketema Apr 1, 2026
702eab8
fix(docker): bump supabase/postgres from 17.6.1.095 to 17.6.1.102 in …
dependabot[bot] Apr 1, 2026
d94fa4e
fix(docker): bump the docker-minor group across 1 directory with 6 up…
dependabot[bot] Apr 1, 2026
05d65b6
chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0 in the actions…
dependabot[bot] Apr 2, 2026
246be84
fix: use correct docker.sock binding with vector (fixes #3127, #3512,…
unlair Apr 2, 2026
443ecc4
chore(deps): bump the go-minor group across 2 directories with 2 upda…
dependabot[bot] Apr 2, 2026
5f1d298
fix(docker): bump supabase/postgres from 17.6.1.102 to 17.6.1.104 in …
dependabot[bot] Apr 2, 2026
5451231
chore: sync API types from infrastructure (#5026)
supabase-cli-releaser[bot] Apr 3, 2026
40bdcc6
chore: add merge queue support to required GitHub Actions workflows (…
Copilot Apr 3, 2026
b2ba75f
fix(docker): bump the docker-minor group across 1 directory with 4 up…
dependabot[bot] Apr 3, 2026
a6c26af
fix: handle new passkeys in config (#5034)
avallete Apr 3, 2026
8f009d5
chore(deps): bump docker/login-action from 4.0.0 to 4.1.0 in the acti…
dependabot[bot] Apr 3, 2026
7da6032
chore(deps): bump https-proxy-agent from 8.0.0 to 9.0.0 in the npm-ma…
dependabot[bot] Apr 3, 2026
597bc21
chore(deps): bump the go-minor group across 1 directory with 2 updates
dependabot[bot] Apr 6, 2026
aed7682
chore(deps): bump the go-minor group across 1 directory with 2 update…
jgoux Apr 6, 2026
48bd87b
chore(api): regenerate client with v1 entitlements endpoint
pamelachia Apr 6, 2026
483e5ed
feat(utils): add plan_gate utilities for entitlement-aware billing links
pamelachia Apr 6, 2026
a2da2aa
test(utils): add tests for plan_gate utilities
pamelachia Apr 6, 2026
4249a97
feat(branches): suggest billing upgrade on plan-gated errors
pamelachia Apr 6, 2026
5524479
fix(utils): self-review fixes for plan_gate
pamelachia Apr 6, 2026
a07145b
feat: inject RLS advisory into db query agent-mode envelope
myerekapan Apr 6, 2026
6f4667a
Merge branch 'develop' into mertyerekapan/growth-712-rls-advisory-cli
jgoux Apr 6, 2026
e8a28df
test: add checkRLSAdvisory unit tests with pgtest mock
myerekapan Apr 6, 2026
b984cd5
feat: inject RLS advisory into db query agent-mode envelope (#5039)
myerekapan Apr 6, 2026
3f3117e
chore: retrigger CI
pamelachia Apr 6, 2026
837e2fe
Merge branch 'develop' into pamela/growth-739-cli-entitlement-aware-b…
jgoux Apr 7, 2026
0d758ea
feat(branches): entitlement-aware billing links (#5040)
pamelachia Apr 7, 2026
7e8dc65
fix(docker): bump the docker-minor group across 1 directory with 5 up…
dependabot[bot] Apr 7, 2026
57b98b7
chore(deps): bump aws-actions/configure-aws-credentials from 6.0.0 to…
dependabot[bot] Apr 7, 2026
b9b62d8
feat: add posthog telemetry (#5019)
avallete Apr 7, 2026
c8fa7d2
fix(cli): --debug flag http.Transport error (#5044)
avallete Apr 7, 2026
c72dc2c
fix: clarify error message when starting docker container (#4790)
unlair Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @supabase/dev-workflows
* @supabase/cli
2 changes: 1 addition & 1 deletion .github/workflows/api-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# will not occur.
- name: Dependabot metadata
id: meta
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
uses: dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v3.0.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
pull_request:
merge_group:
push:
branches:
- develop
Expand All @@ -16,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
# Linter requires no cache
Expand All @@ -70,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -89,11 +90,11 @@ jobs:

link:
name: Link
if: ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ github.event_name == 'merge_group' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -109,7 +110,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ name: "CodeQL"

on:
pull_request:
merge_group:
push:
branches:
- develop
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -88,6 +89,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/mirror-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
TAG=${{ github.event.client_payload.image || inputs.image }}
echo "image=${TAG##*/}" >> $GITHUB_OUTPUT
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
with:
role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
aws-region: us-east-1
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: public.ecr.aws
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
curr: ${{ steps.curr.outputs.tags }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pg-prove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
endpoint: builders
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-migra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
endpoint: builders
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -52,6 +52,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
POSTHOG_ENDPOINT: ${{ secrets.POSTHOG_ENDPOINT }}

- run: gh release edit v${{ needs.release.outputs.new-release-version }} --draft=false --prerelease
env:
Expand All @@ -66,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand All @@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/tag-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Tag pkg

on:
workflow_dispatch:
inputs:
version:
description: "pkg version to tag (e.g. v1.2.2)"
required: true
type: string

permissions:
contents: write

jobs:
tag:
name: Create pkg tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: develop
fetch-depth: 0

- name: Create and push pkg tag
run: |
VERSION="${{ inputs.version }}"
if ! [[ "$VERSION" =~ ^v(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
echo "Error: version '$VERSION' does not match semver format (e.g. v1.2.2)"
exit 1
fi
TAG="pkg/$VERSION"
if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Error: tag '$TAG' already exists"
exit 1
fi
git tag "$TAG"
git push origin "$TAG"
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}} -X github.com/supabase/cli/internal/utils.SentryDsn={{ .Env.SENTRY_DSN }}
- -s -w -X github.com/supabase/cli/internal/utils.Version={{.Version}} -X github.com/supabase/cli/internal/utils.SentryDsn={{ .Env.SENTRY_DSN }} -X github.com/supabase/cli/internal/utils.PostHogAPIKey={{ .Env.POSTHOG_API_KEY }} -X github.com/supabase/cli/internal/utils.PostHogEndpoint={{ .Env.POSTHOG_ENDPOINT }}
env:
- CGO_ENABLED=0
targets:
Expand Down
1 change: 1 addition & 0 deletions cmd/branches.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ var (
func init() {
branchFlags := branchesCmd.PersistentFlags()
branchFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(branchFlags.Lookup("project-ref"))
createFlags := branchCreateCmd.Flags()
createFlags.Var(&region, "region", "Select a region to deploy the branch database.")
createFlags.Var(&size, "size", "Select a desired instance size for the branch database.")
Expand Down
4 changes: 4 additions & 0 deletions cmd/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ var (

func init() {
functionsListCmd.Flags().StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(functionsListCmd.Flags().Lookup("project-ref"))
functionsDeleteCmd.Flags().StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(functionsDeleteCmd.Flags().Lookup("project-ref"))
deployFlags := functionsDeployCmd.Flags()
deployFlags.BoolVar(&useApi, "use-api", false, "Bundle functions server-side without using Docker.")
deployFlags.BoolVar(&useDocker, "use-docker", true, "Use Docker to bundle functions.")
Expand All @@ -150,6 +152,7 @@ func init() {
deployFlags.BoolVar(noVerifyJWT, "no-verify-jwt", false, "Disable JWT verification for the Function.")
deployFlags.BoolVar(&prune, "prune", false, "Delete Functions that exist in Supabase project but not locally.")
deployFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(deployFlags.Lookup("project-ref"))
deployFlags.StringVar(&importMapPath, "import-map", "", "Path to import map file.")
functionsServeCmd.Flags().BoolVar(noVerifyJWT, "no-verify-jwt", false, "Disable JWT verification for the Function.")
functionsServeCmd.Flags().StringVar(&envFilePath, "env-file", "", "Path to an env file to be populated to the Function environment.")
Expand All @@ -162,6 +165,7 @@ func init() {
cobra.CheckErr(functionsServeCmd.Flags().MarkHidden("all"))
downloadFlags := functionsDownloadCmd.Flags()
downloadFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(downloadFlags.Lookup("project-ref"))
downloadFlags.BoolVar(&useLegacyBundle, "legacy-bundle", false, "Use legacy bundling mechanism.")
downloadFlags.BoolVar(&useApi, "use-api", false, "Unbundle functions server-side without using Docker.")
downloadFlags.BoolVar(&useDocker, "use-docker", true, "Use Docker to unbundle functions client-side.")
Expand Down
2 changes: 2 additions & 0 deletions cmd/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func init() {
typeFlags.Bool("linked", false, "Generate types from the linked project.")
typeFlags.String("db-url", "", "Generate types from a database url.")
typeFlags.StringVar(&flags.ProjectRef, "project-id", "", "Generate types from a project ID.")
markFlagTelemetrySafe(typeFlags.Lookup("project-id"))
genTypesCmd.MarkFlagsMutuallyExclusive("local", "linked", "project-id", "db-url")
typeFlags.Var(&lang, "lang", "Output language of the generated types.")
typeFlags.StringSliceVarP(&schema, "schema", "s", []string{}, "Comma separated list of schema to include.")
Expand All @@ -162,6 +163,7 @@ func init() {
genCmd.AddCommand(genTypesCmd)
keyFlags := genKeysCmd.Flags()
keyFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(keyFlags.Lookup("project-ref"))
keyFlags.StringSliceVar(&override, "override-name", []string{}, "Override specific variable names.")
genCmd.AddCommand(genKeysCmd)
signingKeyFlags := genSigningKeyCmd.Flags()
Expand Down
1 change: 1 addition & 0 deletions cmd/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var (
func init() {
linkFlags := linkCmd.Flags()
linkFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(linkFlags.Lookup("project-ref"))
linkFlags.StringVarP(&dbPassword, "password", "p", "", "Password to your remote Postgres database.")
linkFlags.BoolVar(&skipPooler, "skip-pooler", false, "Use direct connection instead of pooler.")
// For some reason, BindPFlag only works for StringVarP instead of StringP
Expand Down
1 change: 1 addition & 0 deletions cmd/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func init() {
// Build squash command
squashFlags := migrationSquashCmd.Flags()
squashFlags.StringVar(&migrationVersion, "version", "", "Squash up to the specified version.")
markFlagTelemetrySafe(squashFlags.Lookup("version"))
squashFlags.String("db-url", "", "Squashes migrations of the database specified by the connection string (must be percent-encoded).")
squashFlags.Bool("linked", false, "Squashes the migration history of the linked project.")
squashFlags.Bool("local", true, "Squashes the migration history of the local database.")
Expand Down
2 changes: 2 additions & 0 deletions cmd/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func init() {
createFlags.BoolVarP(&interactive, "interactive", "i", true, "Enables interactive mode.")
cobra.CheckErr(createFlags.MarkHidden("interactive"))
createFlags.StringVar(&orgId, "org-id", "", "Organization ID to create the project in.")
markFlagTelemetrySafe(createFlags.Lookup("org-id"))
createFlags.StringVar(&dbPassword, "db-password", "", "Database password of the project.")
createFlags.Var(&region, "region", "Select a region close to you for the best performance.")
createFlags.String("plan", "", "Select a plan that suits your needs.")
Expand All @@ -143,6 +144,7 @@ func init() {

apiKeysFlags := projectsApiKeysCmd.Flags()
apiKeysFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
markFlagTelemetrySafe(apiKeysFlags.Lookup("project-ref"))

// Add commands to root
projectsCmd.AddCommand(projectsCreateCmd)
Expand Down
Loading
Loading