zrepl/main.go

23 lines
455 B
Go
Raw Normal View History

// See cmd package.
package main
import (
"github.com/zrepl/zrepl/cli"
2018-08-29 22:06:24 +02:00
"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)
}
func main() {
cli.Run()
}