chore: add command examples to cli reference

This commit is contained in:
Qiao Han authored and Han Qiao committed 2023-01-20 10:09:44 +08:00
1 parent 5a5adbb81b
commit a6edc75c71
1 file changed
+25
+25
View File
@@ -528,6 +528,13 @@ commands:
- id: supabase-login
title: supabase login
summary: Authenticate using an access token
examples:
- title: Basic usage
script: supabase login
output: |
You can generate an access token from https://app.supabase.com/account/tokens
Enter your access token: sbp_****************************************
Finished supabase login.
tags:
- local-dev
links: []
@@ -537,6 +544,17 @@ commands:
- id: supabase-link
title: supabase link
summary: Link to a Supabase project
examples:
- title: Basic usage
script: supabase link --project-ref ********************
output: |
Enter your database password:
Finished supabase link.
- title: Link without database password
script: supabase link --project-ref ******************** <<< ""
output: |
Enter your database password:
Finished supabase link.
tags:
- local-dev
links: []
@@ -555,6 +573,13 @@ commands:
- id: supabase-init
title: supabase init
summary: Initialize a local project
examples:
- title: Basic usage
script: supabase init
output: Finished supabase init.
- title: Initialise from an existing directory
script: supabase init --workdir .
output: Finished supabase init.
tags:
- local-dev
links: []