@@ -38,21 +38,21 @@ func performAction(optMap map[string]interface{}, optionMap map[string]interface
38
38
var flag bool
39
39
40
40
boolActionsMap := map [string ]voidFunc {
41
- "add" : addNewEntry ,
41
+ "add" : WrapperMaxKryptVoidFunc ( addNewEntry ) ,
42
42
"version" : printVersionInfo ,
43
43
"help" : printUsage ,
44
44
"path" : showActiveDatabasePath ,
45
- "list-all" : listAllEntries ,
45
+ "list-all" : WrapperMaxKryptVoidFunc ( listAllEntries ) ,
46
46
"encrypt" : encryptActiveDatabase ,
47
47
}
48
48
49
49
stringActionsMap := map [string ]actionFunc {
50
- "edit" : editCurrentEntry ,
50
+ "edit" : WrapperMaxKryptStringFunc ( editCurrentEntry ) ,
51
51
"init" : initNewDatabase ,
52
- "list-entry" : listCurrentEntry ,
53
- "find" : findCurrentEntry ,
54
- "remove" : removeCurrentEntry ,
55
- "copy" : copyCurrentEntry ,
52
+ "list-entry" : WrapperMaxKryptStringFunc ( listCurrentEntry ) ,
53
+ "find" : WrapperMaxKryptStringFunc ( findCurrentEntry ) ,
54
+ "remove" : WrapperMaxKryptStringFunc ( removeCurrentEntry ) ,
55
+ "copy" : WrapperMaxKryptStringFunc ( copyCurrentEntry ) ,
56
56
"use-db" : setActiveDatabasePath ,
57
57
"export" : exportToFile ,
58
58
}
0 commit comments