sum7
/
yaja
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
yaja/cmd/daemon.go

19 lines
335 B
Go

package cmd
import (
"dev.sum7.eu/genofire/yaja/daemon"
"github.com/spf13/cobra"
)
// DaemonCMD represents the serve command
var DaemonCMD = &cobra.Command{
Use: "daemon",
Short: "daemon of yaja",
}
func init() {
DaemonCMD.AddCommand(daemon.ServerCMD)
DaemonCMD.AddCommand(daemon.TesterCMD)
RootCMD.AddCommand(DaemonCMD)
}