Skip to content
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

[Feature request] Add command-line argument to start OTPClient with a certain database #340

Closed
zeitgenosse opened this issue Jan 28, 2024 · 1 comment

Comments

@zeitgenosse
Copy link

I regularly switch between databases. Currently, I have to open OTPClient and enter the password to unlock database1. Then I have to click on “Change database”, select it from the file selection dialogue and enter the password to unlock database2. Same when I switch back to database1.

My proposal is to enable giving the database I want to use as a command-line argument, e.g.

otpclient --database="~/database2.enc"
@zeitgenosse zeitgenosse changed the title [Feature requtest] Add command-line argument to start OTPClient with a certain database [Feature request] Add command-line argument to start OTPClient with a certain database Jan 28, 2024
@paolostivanin paolostivanin self-assigned this Jan 29, 2024
@paolostivanin
Copy link
Owner

Fantastic idea, I'll for sure implement it!

@paolostivanin paolostivanin added this to the 3.4.0 milestone Jan 29, 2024
paolostivanin added a commit that referenced this issue Feb 9, 2024
* completely refactor the code
* add support for specifying a database without having to open the GUI (fix #340)
paolostivanin added a commit that referenced this issue Feb 9, 2024
* completely refactor the code
* add support for specifying a database without having to open the GUI (fix #340)
paolostivanin added a commit that referenced this issue Feb 9, 2024
* completely refactor the code
* add support for specifying a database without having to open the GUI (fix #340)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants