mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-23 00:43:51 +01:00
17 lines
306 B
Go
17 lines
306 B
Go
package daemon
|
|
|
|
import (
|
|
"github.com/zrepl/zrepl/cli"
|
|
"github.com/zrepl/zrepl/logger"
|
|
)
|
|
|
|
type Logger = logger.Logger
|
|
|
|
var DaemonCmd = &cli.Subcommand {
|
|
Use: "daemon",
|
|
Short: "run the zrepl daemon",
|
|
Run: func(subcommand *cli.Subcommand, args []string) error {
|
|
return Run(subcommand.Config())
|
|
},
|
|
}
|