Skip to content

Commit 985304e

Browse files
authored
chore: update cli reference doc (supabase#36454)
1 parent 0c04c17 commit 985304e

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

apps/docs/spec/cli_v1_commands.yaml

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
clispec: '001'
22
info:
33
id: cli
4-
version: 2.24.3
4+
version: 2.26.9
55
title: Supabase CLI
66
language: sh
77
source: https://github.com/supabase/cli
@@ -1366,6 +1366,7 @@ commands:
13661366
- local-dev
13671367
links: []
13681368
subcommands:
1369+
- supabase-migration-down
13691370
- supabase-migration-fetch
13701371
- supabase-migration-list
13711372
- supabase-migration-new
@@ -1644,6 +1645,31 @@ commands:
16441645
name: --local
16451646
description: Fetches migration history from the local database.
16461647
default_value: 'false'
1648+
- id: supabase-migration-down
1649+
title: supabase migration down
1650+
summary: Resets applied migrations up to the last n versions
1651+
tags: []
1652+
links: []
1653+
usage: supabase migration down [flags]
1654+
subcommands: []
1655+
flags:
1656+
- id: db-url
1657+
name: --db-url <string>
1658+
description: |
1659+
Resets applied migrations on the database specified by the connection string (must be percent-encoded).
1660+
default_value: ''
1661+
- id: last
1662+
name: --last <uint>
1663+
description: Reset up to the last n migration versions.
1664+
default_value: '1'
1665+
- id: linked
1666+
name: --linked
1667+
description: Resets applied migrations on the linked project.
1668+
default_value: 'false'
1669+
- id: local
1670+
name: --local
1671+
description: Resets applied migrations on the local database.
1672+
default_value: 'true'
16471673
- id: supabase-logout
16481674
title: supabase logout
16491675
summary: Log out and delete access tokens locally
@@ -3016,6 +3042,10 @@ commands:
30163042
description: |
30173043
Resets the database specified by the connection string (must be percent-encoded).
30183044
default_value: ''
3045+
- id: last
3046+
name: --last <uint>
3047+
description: Reset up to the last n migration versions.
3048+
default_value: '0'
30193049
- id: linked
30203050
name: --linked
30213051
description: Resets the linked project with local migrations.
@@ -3876,3 +3906,41 @@ commands:
38763906
name: -p, --password <string>
38773907
description: Password to your remote Postgres database.
38783908
default_value: ''
3909+
- id: supabase-backups
3910+
title: supabase backups
3911+
summary: Manage Supabase physical backups
3912+
tags:
3913+
- management-api
3914+
links: []
3915+
subcommands:
3916+
- supabase-backups-list
3917+
- supabase-backups-restore
3918+
flags: []
3919+
- id: supabase-backups-restore
3920+
title: supabase backups restore
3921+
summary: Restore to a specific timestamp using PITR
3922+
tags: []
3923+
links: []
3924+
usage: supabase backups restore [flags]
3925+
subcommands: []
3926+
flags:
3927+
- id: timestamp
3928+
name: -t, --timestamp <int>
3929+
description: The recovery time target in seconds since epoch.
3930+
default_value: '0'
3931+
- id: project-ref
3932+
name: --project-ref <string>
3933+
description: Project ref of the Supabase project.
3934+
default_value: ''
3935+
- id: supabase-backups-list
3936+
title: supabase backups list
3937+
summary: Lists available physical backups
3938+
tags: []
3939+
links: []
3940+
usage: supabase backups list
3941+
subcommands: []
3942+
flags:
3943+
- id: project-ref
3944+
name: --project-ref <string>
3945+
description: Project ref of the Supabase project.
3946+
default_value: ''

0 commit comments

Comments
 (0)