erigon-pulse/cmd/integration/main.go
ledgerwatch 117838e213
Move compatibility check (#1814)
* Move compatibility check

* Implement Alex's suggestion

* Use root context

* Fix lint

* Fix lint

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-04-26 13:39:34 +01:00

20 lines
320 B
Go

package main
import (
"fmt"
"os"
"github.com/ledgerwatch/turbo-geth/cmd/integration/commands"
"github.com/ledgerwatch/turbo-geth/cmd/utils"
)
func main() {
rootCmd := commands.RootCommand()
ctx, _ := utils.RootContext()
if err := rootCmd.ExecuteContext(ctx); err != nil {
fmt.Println(err)
os.Exit(1)
}
}