forked from dsh2dsh/zrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
26 lines (23 loc) · 672 Bytes
/
Copy pathmain.go
File metadata and controls
26 lines (23 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// See cmd package.
package main
import (
"github.com/dsh2dsh/zrepl/internal/cli"
"github.com/dsh2dsh/zrepl/internal/client"
"github.com/dsh2dsh/zrepl/internal/client/monitor"
"github.com/dsh2dsh/zrepl/internal/client/status"
"github.com/dsh2dsh/zrepl/internal/daemon"
)
func init() {
cli.AddSubcommand(daemon.DaemonCmd)
cli.AddSubcommand(status.Subcommand)
cli.AddSubcommand(client.SignalCmd)
cli.AddSubcommand(client.ConfigcheckCmd)
cli.AddSubcommand(client.VersionCmd)
cli.AddSubcommand(client.TestCmd)
cli.AddSubcommand(client.MigrateCmd)
cli.AddSubcommand(client.ZFSAbstractionsCmd)
cli.AddSubcommand(monitor.Subcommand)
}
func main() {
cli.Run()
}