add diceware and passgen to the cli interface

This commit is contained in:
thez3ro 2018-01-19 15:48:40 +01:00
parent 490e92167d
commit 27f8aa095a
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
7 changed files with 291 additions and 1 deletions

View file

@ -24,12 +24,14 @@
#include "Add.h"
#include "Clip.h"
#include "Diceware.h"
#include "Edit.h"
#include "Estimate.h"
#include "Extract.h"
#include "List.h"
#include "Locate.h"
#include "Merge.h"
#include "PassGen.h"
#include "Remove.h"
#include "Show.h"
@ -61,12 +63,14 @@ void populateCommands()
if (commands.isEmpty()) {
commands.insert(QString("add"), new Add());
commands.insert(QString("clip"), new Clip());
commands.insert(QString("diceware"), new Diceware());
commands.insert(QString("edit"), new Edit());
commands.insert(QString("estimate"), new Estimate());
commands.insert(QString("extract"), new Extract());
commands.insert(QString("locate"), new Locate());
commands.insert(QString("ls"), new List());
commands.insert(QString("merge"), new Merge());
commands.insert(QString("passgen"), new PassGen());
commands.insert(QString("rm"), new Remove());
commands.insert(QString("show"), new Show());
}