MCPcopy Create free account
hub / github.com/ethereum/node-crawler / init

Function init

cmd/crawler/main.go:37–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35)
36
37func init() {
38 app.Flags = append(app.Flags, Flags...)
39 app.Before = func(ctx *cli.Context) error {
40 return Setup(ctx)
41 }
42 // Add subcommands.
43 app.Commands = []*cli.Command{
44 apiCommand,
45 crawlerCommand,
46 }
47}
48
49func main() {
50 err := app.Run(os.Args)

Callers

nothing calls this directly

Calls 1

SetupFunction · 0.85

Tested by

no test coverage detected