*: add ctl backup support

This commit is contained in:
Xiang Li
2014-11-07 12:53:32 -08:00
parent 32a82bb423
commit 0d541e6338
4 changed files with 137 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func main() {
cli.StringFlag{Name: "peers, C", Value: "", Usage: "a comma-delimited list of machine addresses in the cluster (default: \"127.0.0.1:4001\")"},
}
app.Commands = []cli.Command{
command.NewBackupCommand(),
command.NewMakeCommand(),
command.NewMakeDirCommand(),
command.NewRemoveCommand(),