supabase / dbdev

Database Package Registry for Postgres
https://database.dev/
Apache License 2.0
370 stars 19 forks source link

path argument defaults to current dir if omitted #129

Closed imor closed 11 months ago

imor commented 11 months ago

What kind of change does this PR introduce?

Feature

What is the current behavior?

  1. dbdev publish and dbdev install commands required an --path option to be passed.
  2. It was possible to pass both --path and --package options.

What is the new behavior?

  1. Both these commands will now use the current directory if --path is omitted.
  2. Only one of --path or --package can be passed.

Additional context

This is done to make it possible to run dbdev publish/dbdev install from the extension directory without adding --path . which is just redundant.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dbdev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2023 8:40am