cmd: able to backup and restore

Not very robust, must execute under correct workdir.

Addresses #2072, #3708, #648
This commit is contained in:
Unknwon
2017-02-26 04:37:05 -05:00
parent b06f299748
commit ca2cfaf71e
7 changed files with 356 additions and 128 deletions

View File

@@ -31,10 +31,11 @@ func main() {
cmd.Web,
cmd.Serv,
cmd.Hook,
cmd.Dump,
cmd.Cert,
cmd.Admin,
cmd.Import,
cmd.Backup,
cmd.Restore,
}
app.Flags = append(app.Flags, []cli.Flag{}...)
app.Run(os.Args)