zrepl/main.go
2019-03-20 20:26:30 +01:00

25 lines
528 B
Go

// See cmd package.
package main
import (
"github.com/zrepl/zrepl/cli"
"github.com/zrepl/zrepl/client"
"github.com/zrepl/zrepl/daemon"
)
func init() {
cli.AddSubcommand(daemon.DaemonCmd)
cli.AddSubcommand(client.StatusCmd)
cli.AddSubcommand(client.SignalCmd)
cli.AddSubcommand(client.StdinserverCmd)
cli.AddSubcommand(client.ConfigcheckCmd)
cli.AddSubcommand(client.VersionCmd)
cli.AddSubcommand(client.PprofCmd)
cli.AddSubcommand(client.TestCmd)
cli.AddSubcommand(client.MigrateCmd)
}
func main() {
cli.Run()
}