summaryrefslogblamecommitdiff
path: root/main.go
blob: bf07b3c659b46409cd5caf4ff9a2d8e11e300b11 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                
                                                 










                                               
                                                 






                                                
package main

import (
	"log"
	"os"

	"github.com/urfave/cli/v2"
	"gitrepo.ru/neonxp/idecnode/cmd/api"
	"gitrepo.ru/neonxp/idecnode/cmd/fetcher"
	"gitrepo.ru/neonxp/idecnode/cmd/frontend"
	"gitrepo.ru/neonxp/idecnode/cmd/point"
)

func main() {
	app := &cli.App{
		Name:  "idecnode",
		Usage: "idecnode [command]",
		Commands: []*cli.Command{
			api.APICommand,
			fetcher.FetcherCommand,
			point.PointCommand,
			frontend.FrontendCommand,
		},
	}

	if err := app.Run(os.Args); err != nil {
		log.Fatal(err)
	}
}