mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
bfbf693660
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
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...)
|
|
}
|