-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.go
34 lines (31 loc) · 1.25 KB
/
main.go
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
27
28
29
30
31
32
33
34
package main
import (
rootCmd "github.com/vegaprotocol/vega-monitoring/cmd"
"github.com/vegaprotocol/vega-monitoring/cmd/binance"
"github.com/vegaprotocol/vega-monitoring/cmd/coingecko"
"github.com/vegaprotocol/vega-monitoring/cmd/comet"
"github.com/vegaprotocol/vega-monitoring/cmd/datanode"
"github.com/vegaprotocol/vega-monitoring/cmd/etherscan"
"github.com/vegaprotocol/vega-monitoring/cmd/ethutils"
"github.com/vegaprotocol/vega-monitoring/cmd/grafana"
"github.com/vegaprotocol/vega-monitoring/cmd/service"
"github.com/vegaprotocol/vega-monitoring/cmd/sqlstore"
"github.com/vegaprotocol/vega-monitoring/cmd/update"
"github.com/vegaprotocol/vega-monitoring/cmd/version"
)
func main() {
rootCmd.Execute()
}
func init() {
rootCmd.RootCmd.AddCommand(comet.CometCmd)
rootCmd.RootCmd.AddCommand(etherscan.EtherscanCmd)
rootCmd.RootCmd.AddCommand(ethutils.EthUtilsCmd)
rootCmd.RootCmd.AddCommand(binance.BinanceCmd)
rootCmd.RootCmd.AddCommand(coingecko.CoingeckoCmd)
rootCmd.RootCmd.AddCommand(service.ServiceCmd)
rootCmd.RootCmd.AddCommand(sqlstore.SQLStoreCmd)
rootCmd.RootCmd.AddCommand(update.UpdateCmd)
rootCmd.RootCmd.AddCommand(version.VersionCmd)
rootCmd.RootCmd.AddCommand(grafana.GrafanaCmd)
rootCmd.RootCmd.AddCommand(datanode.DataNodeCmd)
}