idecnode/main.go

30 lines
514 B
Go
Raw Permalink Normal View History

2024-10-20 03:39:07 +03:00
package main
import (
"log"
"os"
"github.com/urfave/cli/v2"
"gitrepo.ru/neonxp/idecnode/cmd/api"
"gitrepo.ru/neonxp/idecnode/cmd/fetcher"
2024-10-29 01:21:05 +03:00
"gitrepo.ru/neonxp/idecnode/cmd/frontend"
2024-10-20 03:39:07 +03:00
"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,
2024-10-29 01:21:05 +03:00
frontend.FrontendCommand,
2024-10-20 03:39:07 +03:00
},
}
if err := app.Run(os.Args); err != nil {
log.Fatal(err)
}
}