erigon-pulse/cmd/integration/main.go
Alex Sharov 1e3228124a
Move cli root context to erigon-lib (#3294)
* save

* save

* save
2022-01-19 10:49:07 +07:00

20 lines
314 B
Go

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