Restore-command added

- cleanup cmd.Dump, with deprication notice
- don't prefic cmd-commands
This commit is contained in:
Kim "BKC" Carlbäcker
2017-04-13 05:29:20 +02:00
parent fca7ddc6ea
commit 3e61f49da4
5 changed files with 493 additions and 48 deletions

View File

@@ -36,9 +36,11 @@ func main() {
cmd.CmdWeb,
cmd.CmdServ,
cmd.CmdHook,
cmd.CmdDump,
cmd.CmdCert,
cmd.CmdAdmin,
cmd.Backup,
cmd.Restore,
cmd.Dump,
}
app.Flags = append(app.Flags, []cli.Flag{}...)
err := app.Run(os.Args)