2020-07-05 06:18:21 +00:00
|
|
|
package main
|
|
|
|
|
2020-08-19 11:46:20 +00:00
|
|
|
import (
|
|
|
|
"fmt"
|
2021-03-25 06:42:45 +00:00
|
|
|
"os"
|
|
|
|
|
2020-08-19 11:46:20 +00:00
|
|
|
"github.com/ledgerwatch/turbo-geth/cmd/integration/commands"
|
|
|
|
"github.com/ledgerwatch/turbo-geth/cmd/utils"
|
|
|
|
)
|
2020-07-05 06:18:21 +00:00
|
|
|
|
|
|
|
func main() {
|
2020-08-19 11:46:20 +00:00
|
|
|
rootCmd := commands.RootCommand()
|
2021-04-26 12:39:34 +00:00
|
|
|
ctx, _ := utils.RootContext()
|
2020-07-05 06:18:21 +00:00
|
|
|
|
2021-04-26 12:39:34 +00:00
|
|
|
if err := rootCmd.ExecuteContext(ctx); err != nil {
|
2020-08-19 11:46:20 +00:00
|
|
|
fmt.Println(err)
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|