Summary
The current behaviour of the cli is that you have to issue a command at a time and input the password for your database everytime you issue your command.
I would like to have that session based.
Desired Behavior
So, if you issue keepassxc-cli, you start a CLI session where you may open a database, enter the password for it, and then work on the database, just like the GUI after all.
And after you type "close" or "quit" the database is closed again and the session terminated.
Also a timeout to automatically close the CLI session might be a good idea, but should be configurable.
Context
Well, I'm living on the console with huge tmux sessions, local and on my server, where I would also like to access my credentials for different things. And after all it's cool that KeePassXC provides a CLI, but to always type in your 25-30 character password with every command issued is damn annoying.
Summary
The current behaviour of the cli is that you have to issue a command at a time and input the password for your database everytime you issue your command.
I would like to have that session based.
Desired Behavior
So, if you issue keepassxc-cli, you start a CLI session where you may open a database, enter the password for it, and then work on the database, just like the GUI after all.
And after you type "close" or "quit" the database is closed again and the session terminated.
Also a timeout to automatically close the CLI session might be a good idea, but should be configurable.
Context
Well, I'm living on the console with huge tmux sessions, local and on my server, where I would also like to access my credentials for different things. And after all it's cool that KeePassXC provides a CLI, but to always type in your 25-30 character password with every command issued is damn annoying.