mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +01:00
27 lines
651 B
Go
27 lines
651 B
Go
// See cmd package.
|
|
package main
|
|
|
|
import (
|
|
"github.com/zrepl/zrepl/internal/cli"
|
|
"github.com/zrepl/zrepl/internal/client"
|
|
"github.com/zrepl/zrepl/internal/client/status"
|
|
"github.com/zrepl/zrepl/internal/daemon"
|
|
)
|
|
|
|
func init() {
|
|
cli.AddSubcommand(daemon.DaemonCmd)
|
|
cli.AddSubcommand(status.Subcommand)
|
|
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)
|
|
cli.AddSubcommand(client.ZFSAbstractionsCmd)
|
|
}
|
|
|
|
func main() {
|
|
cli.Run()
|
|
}
|