This commit is contained in:
DeniskaRediska committed 2019-10-30 19:06:32 +03:00
1 parent 8b8815d2f2
commit cf23b95af1
20 files changed
+361 -423

No files matched your search

+1 -2
View File
@@ -15,7 +15,7 @@ func Delete() cli.Command {
Name: "delete",
Usage: "delete configuration by module_name",
Action: deleteComm.action,
BashComplete: bash.Module.ModuleName_ModuleData,
BashComplete: bash.Get(bash.ModuleName, bash.ModuleData).Complete,
}
}
@@ -54,7 +54,6 @@ func (d deleteCommand) action(ctx *cli.Context) {
if stringToChange, err := sjson.Delete(string(jsonObject), pathObject); err != nil {
utils.PrintError(err)
return
} else {
utils.CreateUpdateConfig(stringToChange, moduleConfiguration)
}