mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-19 21:51:07 +01:00
24 lines
490 B
Go
24 lines
490 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)
|
|
}
|
|
|
|
func main() {
|
|
cli.Run()
|
|
}
|