Open connection through CLI
Is there any way to automatically open a new connection using cli? For example: ."Beekeeper Studio.exe" --driver="postgresql" --host="localhost" --port="5432" --database="database" --user="user" --password="password" or something similar.
+1 I suggest also an option to start an already saved connection something like
beekeeperstudio.exe --connection=myDB
Sorry it took so long to get to this. I'm assuming you mean you'd like to launch the app and, if a connection is provided in the launch options, have it automatically connect to that connection? I think in general it'd probably be easier to do this with saved connection names. Or just an option on the connection like "Copy launch command to clipboard"
Beekeeper Studio registers file associations, enabling seamless database connections through your operating system's native file handling:
- Mac:
open postgresql://user@host/databaseoropen ./example.db - Linux:
xdg-open postgresql://user@host/databaseorxdg-open ./example.db
See Docs: File Associations