-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add supabase studio
command
#2945
base: develop
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 12833178237Details
💛 - Coveralls |
cmd/studio.go
Outdated
Use: "studio", | ||
Short: "Opens Supabase Studio in your browser", | ||
RunE: func(cmd *cobra.Command, args []string) error { | ||
url := utils.GetSupabaseDashboardURL() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This opens the hosted dashboard and not local studio. Is that your intention?
It might be a good idea to support --local
and --linked
flag to distinguish these use cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this was wrong the goal is to open the local studio url, this comes from using Windsurf, Cursor it will hallucinate this command to go adjust settings only available in the Studio
What kind of change does this PR introduce?
Feature - Adds a new CLI command
supabase studio
to open Supabase Studio directly from the terminalWhat is the current behavior?
Currently, users need to manually open their browser and navigate to the Supabase Studio dashboard.
What is the new behavior?
This PR adds a new
studio
command that automatically opens the Supabase Studio dashboard in the user's default browser. The command:open
for macOS,start
for Windows,xdg-open
for Linux)Example usage: