mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
20ed47a107
* genesis tool * done with tool * delete old tool * no fatal * fix up * Update cmd/prysmctl/testnet/generate_genesis.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * radek feedback * more feedback * required * fix up * gaz * radek feedback Co-authored-by: Radosław Kapka <rkapka@wp.pl>
30 lines
648 B
Go
30 lines
648 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/prysmaticlabs/prysm/v3/cmd/prysmctl/checkpoint"
|
|
"github.com/prysmaticlabs/prysm/v3/cmd/prysmctl/p2p"
|
|
"github.com/prysmaticlabs/prysm/v3/cmd/prysmctl/testnet"
|
|
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...)
|
|
prysmctlCommands = append(prysmctlCommands, testnet.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, p2p.Commands...)
|
|
}
|