main.go 347 Bytes
Newer Older
1 2 3 4 5
package main

import (
	"os"

Will Cory's avatar
Will Cory committed
6
	"github.com/ethereum-optimism/optimism/indexer/cli"
7 8 9 10 11 12 13 14 15 16
	"github.com/ethereum/go-ethereum/log"
)

var (
	GitVersion = ""
	GitCommit  = ""
	GitDate    = ""
)

func main() {
Will Cory's avatar
Will Cory committed
17
	app := cli.NewCli(GitVersion, GitCommit, GitDate)
18

19
	if err := app.Run(os.Args); err != nil {
20 21 22
		log.Crit("Application failed", "message", err)
	}
}