CLI interface

36 views
Skip to first unread message

Louis-Bertrand Varin

unread,
Jan 4, 2017, 7:13:13 PM1/4/17
to KeePassXC
Hey guys!

Glad to see this project being maintained! I've been using KeePassX for a while now and was lacking a crucial feature : merging of 2 databases! It is now merged into this fork, which leads me to giving KeePassXC a try!

I was thinking about maybe adding a CLI interface to KeePassXC. This is something that other tools already do (http://kpcli.sourceforge.net/ for example, even though it deals with the db directly), but adding such an interface to KeePassXC might leverage the existing codebase.

What do you think?

Janek Bevendorff

unread,
Jan 4, 2017, 8:00:38 PM1/4/17
to KeePassXC
A CLI is not on the list for the next release (or the one after that), but nothing that would be generally out of scope for this project. I don't know the code base of kpcli and don't know if we can reuse the code (I doubt it), but a potential KeePassXC CLI could maybe provide a similar API.
So I can't promise anything, but a CLI is definitely possible.

droidmonkey

unread,
Jan 4, 2017, 8:33:27 PM1/4/17
to KeePassXC
Perhaps it is best to keep that functionality to kpcli. I think that would add a significant overhead to the KeePassXC codebase that doesn't directly support our mission (cross-platform GUI interface).

Were your intentions to have a cross-platform CLI?

Louis-Bertrand Varin

unread,
Jan 4, 2017, 8:45:06 PM1/4/17
to KeePassXC
Ideally yeah, but it might be difficult after looking into it. My main use case was to automate (via bash scripts) the merging / synchronization of multiple copies of a database file, so a CLI for this is probably overkill.

Thanks!
Reply all
Reply to author
Forward
0 new messages