zrepl/internal/daemon/main.go

19 lines
361 B
Go
Raw Normal View History

package daemon
import (
"context"
"github.com/zrepl/zrepl/internal/cli"
"github.com/zrepl/zrepl/internal/logger"
)
type Logger = logger.Logger
2019-03-22 19:41:12 +01:00
var DaemonCmd = &cli.Subcommand{
Use: "daemon",
Short: "run the zrepl daemon",
Run: func(ctx context.Context, subcommand *cli.Subcommand, args []string) error {
return Run(ctx, subcommand.Config())
},
}