kuerbis/App-DBBrowser

Feature Request: open sqlite database by default if it is specified in ARGV

Closed this issue · 3 comments

Hello!

Thanks for the good application, again!

I noted on my self, that I always launch the application via:

$ db-browser /tmp/wookie-test.db

So, I always specify the full path to sqlite database. App-DBBrowser is clever enough to detect, that I try to use sqlite, but I have to type additional keystrokes (select my database via arrays and choose it via enter).

It would be nice if the specified database will be already selected if I specified full path to it.

WBR, basiliscos.

I am not sure how I would do this because since the last developer releases the user doesn't choose the database driver but a database plugin. And there could be more then one SQLite database plugin (It is not yet documented, but you could write your own database plugin).

You can know pass the database name as an argument even when SQLite is in use.

Now a database is selected automatically if only one database is available.