Problem
Coming from TablePlus, I'm used to typing ddev tableplus to open a DDEV project's database without re-entering connection details. There's no equivalent for TablePro: DDEV ships built-in launchers for TablePlus, Sequel Ace, and a few others, but not TablePro, so there's no first-class "open this project's DB in TablePro from the terminal" path.
Proposed solution
A first-class CLI / DDEV integration so ddev tablepro (or a documented terminal command) opens the project database in TablePro.
TablePro already registers as a URL handler for the standard schemes (mysql://, postgresql://, etc.), so open "mysql://user:pass@127.0.0.1:PORT/db" works today. What's missing is the official, documented path:
- An official DDEV custom host command (
.ddev/commands/host/tablepro) we publish and document, so users can drop it in and run ddev tablepro.
- Docs section showing how to open TablePro from the terminal / DDEV, including forcing TablePro over TablePlus when both are installed (
open -b com.TablePro "mysql://...").
- Stretch: get a
ddev tablepro launcher contributed upstream to DDEV so it works out of the box.
Alternatives considered
- Manual
open "mysql://..." from the shell: works but undiscoverable, and routes to whichever app is the default mysql:// handler (TablePlus wins if both are installed).
- Hand-writing a DDEV custom command: works, but every user has to figure it out themselves. Documenting/shipping it removes the guesswork.
Related database type
N/A / General
Problem
Coming from TablePlus, I'm used to typing
ddev tableplusto open a DDEV project's database without re-entering connection details. There's no equivalent for TablePro: DDEV ships built-in launchers for TablePlus, Sequel Ace, and a few others, but not TablePro, so there's no first-class "open this project's DB in TablePro from the terminal" path.Proposed solution
A first-class CLI / DDEV integration so
ddev tablepro(or a documented terminal command) opens the project database in TablePro.TablePro already registers as a URL handler for the standard schemes (
mysql://,postgresql://, etc.), soopen "mysql://user:pass@127.0.0.1:PORT/db"works today. What's missing is the official, documented path:.ddev/commands/host/tablepro) we publish and document, so users can drop it in and runddev tablepro.open -b com.TablePro "mysql://...").ddev tableprolauncher contributed upstream to DDEV so it works out of the box.Alternatives considered
open "mysql://..."from the shell: works but undiscoverable, and routes to whichever app is the defaultmysql://handler (TablePlus wins if both are installed).Related database type
N/A / General