The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Template new cli commands spec file
Terry Sutton50f3a1d71b56
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsxindex 9ddb1e47cff..0a63f7f4f9b 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx@@ -13,9 +13,9 @@ const SideNav = () => {const [level, setLevel] = useState('home')function handleRouteChange(url: string) {- console.log('path changed')- console.log(url)- console.log('LISTEN')+ // console.log('path changed')+ // console.log(url)+ // console.log('LISTEN')switch (url) {case `/docs`:setLevel('home')diff --git a/apps/docs/pages/new/reference/cli/usage.tsx b/apps/docs/pages/new/reference/cli/usage.tsxnew file mode 100644index 00000000000..7708e8d8fb1--- /dev/null+++ b/apps/docs/pages/new/reference/cli/usage.tsx@@ -0,0 +1,95 @@+// @ts-expect-error+import cliSpec from '~/../../spec/cli_v1_commands_new_shape.yaml' assert { type: 'yml' }+import CodeBlock from '~/components/CodeBlock/CodeBlock'++type Flag = {+ id: string+ name: string+ description: string+ default_value: string+}++type Command = {+ id: string+ title: string+ description: string+ flags?: Flag[]+ summary: string+ tags?: []+ links?: []+ subcommands?: []+ usage?: string+}++export default function CliUsage() {+ return (+ <article>+ <div className="flex my-16">+ <div className="w-full">+ <h1>Usage</h1>+ <div className="max-w-xs w-32 h-[1px] bg-gradient-to-r from-brand-800 to-brand-900 my-4"></div>+ <p className="text-xl max-w-xl">{cliSpec.info.description}</p>++ <div className="grid gap-32 mx-auto max-w-5xl mt-24">+ {cliSpec.commands.map((command: Command, commandIndex) => {+ return (+ <div>+ <div className="grid ref-container" id={command.id}>+ <div className="prose border-b pb-8" key={command.id}>+ <header+ className={[+ // 'border-b sticky top-16 z-10',+ ' mb-16',+ ].join(' ')}+ >+ <h2 className="text-2xl not-prose text-scale-1200 capitalize mb-4 scroll-mt-16 mt-0">+ {command.summary}+ </h2>+ </header>++ {command.usage && (+ <CodeBlock language="bash" className="relative">+ {command.usage}+ </CodeBlock>+ )}++ {command.subcommands.length > 0 && (+ <>+ <h3 className="text-sm font-bold">Available Commands</h3>+ <ul>+ {command.subcommands.map((subcommand) => (+ <li key={subcommand}>+ <a href={`#${subcommand}`}>+ <CodeBlock language="bash">{subcommand}</CodeBlock>+ </a>+ </li>+ ))}+ </ul>+ </>+ )}+ {command.flags.length > 0 && (+ <>+ <h3 className="text-lg ">Options</h3>+ <ul className="grid gap-2">+ {command.flags.map((flag) => (+ <li className="mt-0">+ <div>+ <code className="font-bold">{flag.name}</code>+ </div>+ <p className="text-sm">{flag.description}</p>+ </li>+ ))}+ </ul>+ </>+ )}+ </div>+ </div>+ </div>+ )+ })}+ </div>+ </div>+ </div>+ </article>+ )+}diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xmlindex 27044787652..0d8de26b53a 100644--- a/apps/docs/public/sitemap.xml+++ b/apps/docs/public/sitemap.xml@@ -78,6 +78,24 @@<changefreq>0.5</changefreq></url>+ <url>+ <loc>https://supabase.com/docs/handbook/contributing</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/handbook/introduction</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>++ <url>+ <loc>https://supabase.com/docs/handbook/supasquad</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>+<url><loc>https://supabase.com/docs/guides/api</loc><changefreq>weekly</changefreq>@@ -217,547 +235,547 @@</url><url>- <loc>https://supabase.com/docs/handbook/contributing</loc>+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/handbook/introduction</loc>+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/handbook/supasquad</loc>+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-gotrue</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/api/generating-types</loc>+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-policies</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/cli/local-development</loc>+ <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/cli/managing-environments</loc>+ <loc>https://supabase.com/docs/guides/api/generating-types</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-apple</loc>+ <loc>https://supabase.com/docs/guides/cli/local-development</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-azure</loc>+ <loc>https://supabase.com/docs/guides/cli/managing-environments</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-bitbucket</loc>+ <loc>https://supabase.com/docs/guides/database/arrays</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-captcha</loc>+ <loc>https://supabase.com/docs/guides/database/connecting-to-postgres</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-discord</loc>+ <loc>https://supabase.com/docs/guides/database/extensions</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-email</loc>+ <loc>https://supabase.com/docs/guides/database/full-text-search</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-facebook</loc>+ <loc>https://supabase.com/docs/guides/database/functions</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-github</loc>+ <loc>https://supabase.com/docs/guides/database/json</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-gitlab</loc>+ <loc>https://supabase.com/docs/guides/database/managing-passwords</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-google</loc>+ <loc>https://supabase.com/docs/guides/database/managing-timezones</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-helpers</loc>+ <loc>https://supabase.com/docs/guides/database/replication</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-keycloak</loc>+ <loc>https://supabase.com/docs/guides/database/sql-to-api</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-linkedin</loc>+ <loc>https://supabase.com/docs/guides/database/tables</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-magic-link</loc>+ <loc>https://supabase.com/docs/guides/database/testing</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-messagebird</loc>+ <loc>https://supabase.com/docs/guides/database/timeouts</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-mfa</loc>+ <loc>https://supabase.com/docs/guides/database/webhooks</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-notion</loc>+ <loc>https://supabase.com/docs/guides/functions/auth</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-slack</loc>+ <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-spotify</loc>+ <loc>https://supabase.com/docs/guides/functions/examples</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-twilio</loc>+ <loc>https://supabase.com/docs/guides/hosting/docker</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-twitch</loc>+ <loc>https://supabase.com/docs/guides/hosting/overview</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-twitter</loc>+ <loc>https://supabase.com/docs/guides/hosting/platform</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-vonage</loc>+ <loc>https://supabase.com/docs/guides/migrations/firebase-auth</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-workos</loc>+ <loc>https://supabase.com/docs/guides/migrations/firebase-storage</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-zoom</loc>+ <loc>https://supabase.com/docs/guides/migrations/firestore-data</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/managing-user-data</loc>+ <loc>https://supabase.com/docs/guides/migrations/heroku</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/row-level-security</loc>+ <loc>https://supabase.com/docs/guides/platform/compute-add-ons</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/server-side-rendering</loc>+ <loc>https://supabase.com/docs/guides/platform/custom-domains</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/functions/auth</loc>+ <loc>https://supabase.com/docs/guides/platform/database-usage</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/functions/cicd-workflow</loc>+ <loc>https://supabase.com/docs/guides/platform/going-into-prod</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/functions/examples</loc>+ <loc>https://supabase.com/docs/guides/platform/logs</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/hosting/docker</loc>+ <loc>https://supabase.com/docs/guides/platform/metrics</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/hosting/overview</loc>+ <loc>https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/hosting/platform</loc>+ <loc>https://supabase.com/docs/guides/platform/performance</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/arrays</loc>+ <loc>https://supabase.com/docs/guides/platform/permissions</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/connecting-to-postgres</loc>+ <loc>https://supabase.com/docs/guides/integrations/appsmith</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions</loc>+ <loc>https://supabase.com/docs/guides/integrations/auth0</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/full-text-search</loc>+ <loc>https://supabase.com/docs/guides/integrations/authsignal</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/functions</loc>+ <loc>https://supabase.com/docs/guides/integrations/clerk</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/json</loc>+ <loc>https://supabase.com/docs/guides/integrations/dashibase</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/managing-passwords</loc>+ <loc>https://supabase.com/docs/guides/integrations/dhiwise</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/managing-timezones</loc>+ <loc>https://supabase.com/docs/guides/integrations/directus</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/replication</loc>+ <loc>https://supabase.com/docs/guides/integrations/draftbit</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/sql-to-api</loc>+ <loc>https://supabase.com/docs/guides/integrations/estuary</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/tables</loc>+ <loc>https://supabase.com/docs/guides/integrations/fezto</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/testing</loc>+ <loc>https://supabase.com/docs/guides/integrations/integrations</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/timeouts</loc>+ <loc>https://supabase.com/docs/guides/integrations/keyri</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/webhooks</loc>+ <loc>https://supabase.com/docs/guides/integrations/pgmustard</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firebase-auth</loc>+ <loc>https://supabase.com/docs/guides/integrations/plasmic</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firebase-storage</loc>+ <loc>https://supabase.com/docs/guides/integrations/polyscale</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/firestore-data</loc>+ <loc>https://supabase.com/docs/guides/integrations/prisma</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/migrations/heroku</loc>+ <loc>https://supabase.com/docs/guides/integrations/sequin</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/appsmith</loc>+ <loc>https://supabase.com/docs/guides/integrations/snaplet</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/auth0</loc>+ <loc>https://supabase.com/docs/guides/integrations/stytch</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/authsignal</loc>+ <loc>https://supabase.com/docs/guides/integrations/supertokens</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/clerk</loc>+ <loc>https://supabase.com/docs/guides/integrations/vercel</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/dashibase</loc>+ <loc>https://supabase.com/docs/guides/integrations/weweb</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/dhiwise</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-apple</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/directus</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-azure</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/draftbit</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-bitbucket</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/fezto</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-captcha</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/integrations</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-discord</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/keyri</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-email</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/pgmustard</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-facebook</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/plasmic</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-github</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/polyscale</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-gitlab</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/prisma</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-google</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/sequin</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/snaplet</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-keycloak</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/stytch</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-linkedin</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/supertokens</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-magic-link</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/vercel</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-messagebird</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/integrations/weweb</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-mfa</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/compute-add-ons</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-notion</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/custom-domains</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-slack</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/database-usage</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-spotify</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/going-into-prod</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-twilio</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/logs</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-twitch</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/metrics</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-twitter</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-vonage</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/performance</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-workos</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/platform/permissions</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-zoom</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/postgres-cdc</loc>+ <loc>https://supabase.com/docs/guides/auth/managing-user-data</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/quickstart</loc>+ <loc>https://supabase.com/docs/guides/auth/row-level-security</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc>+ <loc>https://supabase.com/docs/guides/auth/server-side-rendering</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>@@ -769,91 +787,85 @@</url><url>- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts</loc>- <changefreq>weekly</changefreq>- <changefreq>0.5</changefreq>- </url>-- <url>- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-google-oauth</loc>+ <loc>https://supabase.com/docs/guides/realtime/postgres-cdc</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-gotrue</loc>+ <loc>https://supabase.com/docs/guides/realtime/quickstart</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-policies</loc>+ <loc>https://supabase.com/docs/guides/realtime/rate-limits</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/http</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-helpers/auth-ui</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/pgcron</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-helpers/nextjs</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/pgnet</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-helpers/remix</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/pgtap</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/auth/auth-helpers/sveltekit</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/plv8</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/http</loc>+ <loc>https://supabase.com/docs/guides/database/extensions/uuid-ossp</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/pgcron</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers/auth-ui</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/pgnet</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers/nextjs-server-components</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/pgtap</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers/nextjs</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/plv8</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers/remix</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/docs/guides/database/extensions/uuid-ossp</loc>+ <loc>https://supabase.com/docs/guides/auth/auth-helpers/sveltekit</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>@@ -1932,6 +1944,12 @@<changefreq>0.5</changefreq></url>+ <url>+ <loc>https://supabase.com/docs/reference/realtime/config</loc>+ <changefreq>weekly</changefreq>+ <changefreq>0.5</changefreq>+ </url>+<url><loc>https://supabase.com/docs/reference/storage/release-notes</loc><changefreq>weekly</changefreq>diff --git a/spec/cli_v1_commands_new_shape.yaml b/spec/cli_v1_commands_new_shape.yamlnew file mode 100644index 00000000000..f3eab57370e--- /dev/null+++ b/spec/cli_v1_commands_new_shape.yaml@@ -0,0 +1,763 @@+clispec: '001'+info:+ id: cli+ version: 1.14.3+ title: Supabase CLI+ language: sh+ source: https://github.com/supabase/cli+ bugs: https://github.com/supabase/cli/issues+ spec: https://github.com/supabase/supabase.tools/cli_spec/lib.yaml+ description: |+ Supabase CLI provides you with tools to develop your application locally, and deploy your application to the Supabase platform.+ tags:+ - id: local-dev+ title: Local Development+ - id: management-api+ title: Management APIs+ - id: other-commands+ title: Additional Commands+flags:+ - id: debug+ name: --debug+ description: output debug logs to stderr+ default_value: 'false'+ - id: experimental+ name: --experimental+ description: enable experimental features+ default_value: 'false'+ - id: help+ name: -h, --help+ description: help for supabase+ default_value: 'false'+ - id: workdir+ name: --workdir <string>+ description: path to a Supabase project directory+ default_value: ''+commands:+ - id: supabase-test+ title: supabase test+ summary: Run tests on local Supabase containers+ tags:+ - local-dev+ links: []+ subcommands:+ - supabase-test-db+ flags: []+ - id: supabase-test-db+ title: supabase test db+ summary: Tests local database with pgTAP+ tags: []+ links: []+ usage: supabase test db+ subcommands: []+ flags: []+ - id: supabase-stop+ title: supabase stop+ summary: Stop all local Supabase containers+ tags:+ - local-dev+ links: []+ usage: supabase stop [flags]+ subcommands: []+ flags:+ - id: backup+ name: --backup+ description: Backs up the current database before stopping.+ default_value: 'false'+ - id: supabase-status+ title: supabase status+ summary: Show status of local Supabase containers+ tags:+ - local-dev+ links: []+ usage: supabase status [flags]+ subcommands: []+ flags:+ - id: output+ name: -o, --output <string>+ description: Output format of status variables.+ default_value: pretty+ accepted_values:+ - id: env+ name: env+ type: string+ - id: json+ name: json+ type: string+ - id: pretty+ name: pretty+ type: string+ - id: toml+ name: toml+ type: string+ - id: yaml+ name: yaml+ type: string+ - id: override-name+ name: --override-name <strings>+ description: Override specific variable names.+ default_value: '[]'+ - id: supabase-start+ title: supabase start+ summary: Start containers for Supabase local development+ tags:+ - local-dev+ links: []+ usage: supabase start+ subcommands: []+ flags: []+ - id: supabase-secrets+ title: supabase secrets+ summary: Manage Supabase secrets+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-secrets-list+ - supabase-secrets-set+ - supabase-secrets-unset+ flags: []+ - id: supabase-secrets-unset+ title: supabase secrets unset+ summary: Unset a secret(s) on Supabase+ description: Unset a secret(s) from the linked Supabase project.+ tags: []+ links: []+ usage: supabase secrets unset <NAME> ...+ subcommands: []+ flags: []+ - id: supabase-secrets-set+ title: supabase secrets set+ summary: Set a secret(s) on Supabase+ description: Set a secret(s) to the linked Supabase project.+ tags: []+ links: []+ usage: supabase secrets set [flags] <NAME=VALUE> ...+ subcommands: []+ flags:+ - id: env-file+ name: --env-file <string>+ description: Read secrets from a .env file.+ default_value: ''+ - id: supabase-secrets-list+ title: supabase secrets list+ summary: List all secrets on Supabase+ description: List all secrets in the linked project.+ tags: []+ links: []+ usage: supabase secrets list+ subcommands: []+ flags: []+ - id: supabase-projects+ title: supabase projects+ summary: Manage Supabase projects+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-projects-create+ - supabase-projects-list+ flags: []+ - id: supabase-projects-list+ title: supabase projects list+ summary: List all Supabase projects+ description: List all Supabase projects the logged-in user can access.+ tags: []+ links: []+ usage: supabase projects list+ subcommands: []+ flags: []+ - id: supabase-projects-create+ title: supabase projects create+ summary: Create a project on Supabase+ tags: []+ links: []+ usage: supabase projects create <project name> [flags]+ subcommands: []+ flags:+ - id: db-password+ name: --db-password <string>+ description: Database password of the project.+ default_value: ''+ - id: interactive+ name: -i, --interactive+ description: Enables interactive mode.+ default_value: 'false'+ - id: org-id+ name: --org-id <string>+ description: Organization ID to create the project in.+ default_value: ''+ - id: plan+ name: --plan <string>+ description: Select a plan that suits your needs.+ default_value: free+ accepted_values:+ - id: free+ name: free+ type: string+ - id: pro+ name: pro+ type: string+ - id: region+ name: --region <string>+ description: Select a region close to you for the best performance.+ default_value: ''+ accepted_values:+ - id: ca-central-1+ name: ca-central-1+ type: string+ - id: eu-west-2+ name: eu-west-2+ type: string+ - id: us-east-1+ name: us-east-1+ type: string+ - id: ap-south-1+ name: ap-south-1+ type: string+ - id: ap-southeast-1+ name: ap-southeast-1+ type: string+ - id: ap-southeast-2+ name: ap-southeast-2+ type: string+ - id: eu-west-1+ name: eu-west-1+ type: string+ - id: sa-east-1+ name: sa-east-1+ type: string+ - id: us-west-1+ name: us-west-1+ type: 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-orgs+ title: supabase orgs+ summary: Manage Supabase organizations+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-orgs-list+ flags: []+ - id: supabase-orgs-list+ title: supabase orgs list+ summary: List all organizations+ description: List all organizations the logged-in user belongs.+ tags: []+ links: []+ usage: supabase orgs list+ subcommands: []+ flags: []+ - id: supabase-migration+ title: supabase migration+ summary: Manage database migration scripts+ tags:+ - local-dev+ links: []+ subcommands:+ - supabase-migration-list+ - supabase-migration-new+ flags: []+ - id: supabase-migration-new+ title: supabase migration new+ summary: Create an empty migration script+ tags: []+ links: []+ usage: supabase migration new <migration name>+ subcommands: []+ flags: []+ - id: supabase-migration-list+ title: supabase migration list+ summary: List local and remote migrations+ tags: []+ links: []+ usage: supabase migration list [flags]+ subcommands: []+ flags:+ - id: password+ name: -p, --password <string>+ description: Password to your remote Postgres database.+ default_value: ''+ - id: supabase-login+ title: supabase login+ summary: Authenticate using an access token+ tags:+ - local-dev+ links: []+ usage: supabase login+ subcommands: []+ flags: []+ - id: supabase-link+ title: supabase link+ summary: Link to a Supabase project+ tags:+ - local-dev+ links: []+ usage: supabase link [flags]+ subcommands: []+ flags:+ - id: password+ name: -p, --password <string>+ description: Password to your remote Postgres database.+ default_value: ''+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ required: true+ default_value: ''+ - id: supabase-init+ title: supabase init+ summary: Initialize a local project+ tags:+ - local-dev+ links: []+ usage: supabase init+ subcommands: []+ flags: []+ - id: supabase-gen+ title: supabase gen+ summary: Run code generation tools+ tags:+ - local-dev+ links: []+ subcommands:+ - supabase-gen-types+ flags: []+ - id: supabase-gen-types+ title: supabase gen types+ summary: Generate types from Postgres schema+ tags: []+ links: []+ subcommands:+ - supabase-gen-types-typescript+ flags: []+ - id: supabase-gen-types-typescript+ title: supabase gen types typescript+ summary: Generate types for TypeScript+ description: |+ Generate types for TypeScript. Must specify one of --local, --linked, --project-id, or --db-url+ tags: []+ links: []+ usage: supabase gen types typescript [flags]+ subcommands: []+ flags:+ - id: db-url+ name: --db-url <string>+ description: Generate types from a database url.+ default_value: ''+ - id: linked+ name: --linked+ description: Generate types from the linked project.+ default_value: 'false'+ - id: local+ name: --local+ description: Generate types from the local dev database.+ default_value: 'false'+ - id: project-id+ name: --project-id <string>+ description: Generate types from a project ID.+ default_value: ''+ - id: schema+ name: --schema <stringArray>+ description: Schemas to generate types for.+ default_value: '[]'+ - id: supabase-functions+ title: supabase functions+ summary: Manage Supabase Edge functions+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-functions-delete+ - supabase-functions-deploy+ - supabase-functions-new+ - supabase-functions-serve+ flags: []+ - id: supabase-functions-serve+ title: supabase functions serve+ summary: Serve a Function locally+ tags: []+ links: []+ usage: supabase functions serve <Function name> [flags]+ subcommands: []+ flags:+ - id: env-file+ name: --env-file <string>+ description: |+ Path to an env file to be populated to the Function environment.+ default_value: ''+ - id: no-verify-jwt+ name: --no-verify-jwt+ description: Disable JWT verification for the Function.+ default_value: 'false'+ - id: supabase-functions-new+ title: supabase functions new+ summary: Create a new Function locally+ tags: []+ links: []+ usage: supabase functions new <Function name>+ subcommands: []+ flags: []+ - id: supabase-functions-deploy+ title: supabase functions deploy+ summary: Deploy a Function to Supabase+ description: Deploy a Function to the linked Supabase project.+ tags: []+ links: []+ usage: supabase functions deploy <Function name> [flags]+ subcommands: []+ flags:+ - id: legacy-bundle+ name: --legacy-bundle+ description: Use legacy bundling mechanism.+ default_value: 'false'+ - id: no-verify-jwt+ name: --no-verify-jwt+ description: Disable JWT verification for the Function.+ default_value: 'false'+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ''+ - id: supabase-functions-delete+ title: supabase functions delete+ summary: Delete a Function from Supabase+ description: |+ Delete a Function from the linked Supabase project. This does NOT remove the Function locally.+ tags: []+ links: []+ usage: supabase functions delete <Function name> [flags]+ subcommands: []+ flags:+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ''+ - id: supabase-domains+ title: supabase domains+ summary: Manage custom domain names for Supabase projects+ tags:+ - management-api+ links: []+ subcommands:+ - supabase-domains-activate+ - supabase-domains-create+ - supabase-domains-delete+ - supabase-domains-get+ - supabase-domains-reverify+ flags:+ - id: include-raw-output+ name: --include-raw-output+ description: Include raw output (useful for debugging).+ default_value: 'false'+ - id: project-ref+ name: --project-ref <string>+ description: Project ref of the Supabase project.+ default_value: ''+ - id: supabase-domains-reverify+ title: supabase domains reverify+ summary: Re-verify the custom hostname config for your project.+ tags: []+ links: []+ usage: supabase domains reverify+ subcommands: []+ flags: []+ - id: supabase-domains-get+ title: supabase domains get+ summary: Get the current custom hostname config.+ description: |+ Retrieve the custom hostname config for your project, as stored in the Supabase platform.+ tags: []+ links: []+ usage: supabase domains get+ subcommands: []+ flags: []+ - id: supabase-domains-delete+ title: supabase domains delete+ summary: Deletes the custom hostname config for your project.+ tags: []+ links: []+ usage: supabase domains delete+ subcommands: []+ flags: []+ - id: supabase-domains-create+ title: supabase domains create+ summary: Create a custom hostname.+ description: |-+ Create a custom hostname for your Supabase project.++ Expects your custom hostname to have a CNAME record to your Supabase project's subdomain.+ tags: []+ links: []+ usage: supabase domains create [flags]+ subcommands: []+ flags:+ - id: custom-hostname+ name: --custom-hostname <string>+ description: The custom hostname to use for your Supabase project.+ default_value: ''+ - id: supabase-domains-activate+ title: supabase domains activate+ summary: Activate the custom hostname for a project.+ description: |-+ Activates the custom hostname configuration for a project.++ This reconfigures your Supabase project to respond to requests on your custom hostname.+ After the custom hostname is activated, your project's auth services will no longer function on the Supabase-provisioned subdomain.+ tags: []+ links: []+ usage: supabase domains activate+ subcommands: []+ flags: []+ - id: supabase-db+ title: supabase db+ summary: Manage local Postgres databases+ tags:+ - local-dev+ links: []+ subcommands:+ - supabase-db-diff+ - supabase-db-lint+ - supabase-db-push+ - supabase-db-remote+ - supabase-db-reset+ flags: []+ - id: supabase-db-reset+ title: supabase db reset+ summary: Resets the local database to current migrations+ tags: []+ links: []+ usage: supabase db reset+ subcommands: []+ flags: []+ - id: supabase-db-remote+ title: supabase db remote+ summary: Manage remote databases+ tags: []+ links: []+ subcommands:+ - supabase-db-remote-changes+ - supabase-db-remote-commit+ flags:+ - id: password+ name: -p, --password <string>+ description: Password to your remote Postgres database.+ default_value: ''+ - id: supabase-db-remote-commit+ title: supabase db remote commit+ summary: Commit remote changes as a new migration+ tags: []+ links: []+ usage: supabase db remote commit+ subcommands: []+ 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-push+ title: supabase db push+ summary: Push new migrations to the remote database+ tags: []+ links: []+ usage: supabase db push [flags]+ subcommands: []+ flags:+ - id: dry-run+ name: --dry-run+ description: |+ Print the migrations that would be applied, but don't actually apply them.+ default_value: 'false'+ - id: password+ name: -p, --password <string>+ description: Password to your remote Postgres database.+ default_value: ''+ - id: supabase-db-lint+ title: supabase db lint+ summary: Checks local database for typing error+ tags: []+ links: []+ usage: supabase db lint [flags]+ subcommands: []+ flags:+ - id: level+ name: --level <string>+ description: Error level to emit.+ default_value: warning+ accepted_values:+ - id: warning+ name: warning+ type: string+ - id: error+ name: error+ type: string+ - id: schema+ name: -s, --schema <strings>+ description: List of schema to include.+ default_value: '[public]'+ - id: supabase-db-diff+ title: supabase db diff+ summary: Diffs the local database for schema changes+ tags: []+ links: []+ usage: supabase db diff [flags]+ subcommands: []+ flags:+ - id: file+ name: -f, --file <string>+ description: Saves schema diff to a file.+ default_value: ''+ - id: linked+ name: --linked+ description: Diffs local schema against linked project.+ default_value: 'false'+ - id: schema+ name: -s, --schema <strings>+ description: List of schema to include.+ default_value: '[public]'+ - id: use-migra+ name: --use-migra+ description: Use migra to generate schema diff.+ default_value: 'false'+ - id: supabase-completion+ title: supabase completion+ summary: Generate the autocompletion script for the specified shell+ description: |+ Generate the autocompletion script for supabase for the specified shell.+ See each sub-command's help for details on how to use the generated script.+ tags:+ - other-commands+ links: []+ subcommands:+ - supabase-completion-bash+ - supabase-completion-fish+ - supabase-completion-powershell+ - supabase-completion-zsh+ flags: []+ - id: supabase-completion-zsh+ title: supabase completion zsh+ summary: Generate the autocompletion script for zsh+ description: |+ Generate the autocompletion script for the zsh shell.++ If shell completion is not already enabled in your environment you will need+ to enable it. You can execute the following once:++ echo "autoload -U compinit; compinit" >> ~/.zshrc++ To load completions in your current shell session:++ source <(supabase completion zsh); compdef _supabase supabase++ To load completions for every new session, execute once:++ #### Linux:++ supabase completion zsh > "${fpath[1]}/_supabase"++ #### macOS:++ supabase completion zsh > $(brew --prefix)/share/zsh/site-functions/_supabase++ You will need to start a new shell for this setup to take effect.+ tags: []+ links: []+ usage: supabase completion zsh [flags]+ subcommands: []+ flags:+ - id: no-descriptions+ name: --no-descriptions+ description: disable completion descriptions+ default_value: 'false'+ - id: supabase-completion-powershell+ title: supabase completion powershell+ summary: Generate the autocompletion script for powershell+ description: |+ Generate the autocompletion script for powershell.++ To load completions in your current shell session:++ supabase completion powershell | Out-String | Invoke-Expression++ To load completions for every new session, add the output of the above command+ to your powershell profile.+ tags: []+ links: []+ usage: supabase completion powershell [flags]+ subcommands: []+ flags:+ - id: no-descriptions+ name: --no-descriptions+ description: disable completion descriptions+ default_value: 'false'+ - id: supabase-completion-fish+ title: supabase completion fish+ summary: Generate the autocompletion script for fish+ description: |+ Generate the autocompletion script for the fish shell.++ To load completions in your current shell session:++ supabase completion fish | source++ To load completions for every new session, execute once:++ supabase completion fish > ~/.config/fish/completions/supabase.fish++ You will need to start a new shell for this setup to take effect.+ tags: []+ links: []+ usage: supabase completion fish [flags]+ subcommands: []+ flags:+ - id: no-descriptions+ name: --no-descriptions+ description: disable completion descriptions+ default_value: 'false'+ - id: supabase-completion-bash+ title: supabase completion bash+ summary: Generate the autocompletion script for bash+ description: |+ Generate the autocompletion script for the bash shell.++ This script depends on the 'bash-completion' package.+ If it is not installed already, you can install it via your OS's package manager.++ To load completions in your current shell session:++ source <(supabase completion bash)++ To load completions for every new session, execute once:++ #### Linux:++ supabase completion bash > /etc/bash_completion.d/supabase++ #### macOS:++ supabase completion bash > $(brew --prefix)/etc/bash_completion.d/supabase++ You will need to start a new shell for this setup to take effect.+ tags: []+ links: []+ usage: supabase completion bash+ subcommands: []+ flags:+ - id: no-descriptions+ name: --no-descriptions+ description: disable completion descriptions+ default_value: 'false'