xmr-remote-nodes/cmd/cmd.go
ditatompel 7dea8380b8
Separating client and server package #3
The client and server package is now separated, so I can build
additional server package with `-tags server`.
2024-05-18 17:59:54 +07:00

27 lines
333 B
Go

package cmd
import (
"os"
"xmr-remote-nodes/cmd/client"
"github.com/spf13/cobra"
)
const AppVer = "0.0.1"
var Root = &cobra.Command{
Use: "xmr-nodes",
Short: "XMR Nodes",
Version: AppVer,
}
func Execute() {
err := Root.Execute()
if err != nil {
os.Exit(1)
}
}
func init() {
Root.AddCommand(client.ProbeCmd)
}