2022-03-25 17:18:03 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
2024-02-15 05:46:47 +00:00
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/checkpointsync"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/db"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/p2p"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/testnet"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/validator"
|
|
|
|
"github.com/prysmaticlabs/prysm/v5/cmd/prysmctl/weaksubjectivity"
|
2022-03-25 17:18:03 +00:00
|
|
|
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() {
|
2022-08-31 18:18:35 +00:00
|
|
|
prysmctlCommands = append(prysmctlCommands, checkpointsync.Commands...)
|
2022-10-26 21:28:02 +00:00
|
|
|
prysmctlCommands = append(prysmctlCommands, db.Commands...)
|
2022-08-17 06:38:57 +00:00
|
|
|
prysmctlCommands = append(prysmctlCommands, p2p.Commands...)
|
2022-08-31 18:18:35 +00:00
|
|
|
prysmctlCommands = append(prysmctlCommands, testnet.Commands...)
|
|
|
|
prysmctlCommands = append(prysmctlCommands, weaksubjectivity.Commands...)
|
2023-01-24 10:05:55 +00:00
|
|
|
prysmctlCommands = append(prysmctlCommands, validator.Commands...)
|
2022-03-25 17:18:03 +00:00
|
|
|
}
|