mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
26 lines
405 B
Go
26 lines
405 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"github.com/prysmaticlabs/prysm/cmd/prysmctl/checkpoint"
|
||
|
log "github.com/sirupsen/logrus"
|
||
|
"github.com/urfave/cli/v2"
|
||
|
)
|
||
|
|
||
|
var prysmctlCommands []*cli.Command
|
||
|
|
||
|
func main() {
|
||
|
app := &cli.App{
|
||
|
Commands: prysmctlCommands,
|
||
|
}
|
||
|
err := app.Run(os.Args)
|
||
|
if err != nil {
|
||
|
log.Fatal(err)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
prysmctlCommands = append(prysmctlCommands, checkpoint.Commands...)
|
||
|
}
|