mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-31 16:20:22 -05:00
Add list to keepassxc-cli
This commit is contained in:
parent
7636a559f9
commit
7ca475f968
4 changed files with 136 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#include <QCoreApplication>
|
||||
#include <QStringList>
|
||||
|
||||
#include <cli/List.h>
|
||||
#include <cli/Merge.h>
|
||||
#include <cli/Extract.h>
|
||||
#include <cli/EntropyMeter.h>
|
||||
|
|
@ -64,6 +65,11 @@ int main(int argc, char **argv)
|
|||
++argv;
|
||||
--argc;
|
||||
|
||||
if (commandName == "list") {
|
||||
argv[0] = const_cast<char*>("keepassxc-cli list");
|
||||
return List::execute(argc, argv);
|
||||
}
|
||||
|
||||
if (commandName == "merge") {
|
||||
argv[0] = const_cast<char*>("keepassxc-cli merge");
|
||||
return Merge::execute(argc, argv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue