mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
6c5351c3a2
* Remove deprecated items * missed test * add back deprecated fields * Preston's review * remove tests --------- Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
36 lines
1.0 KiB
Go
36 lines
1.0 KiB
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"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"
|
|
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, checkpointsync.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, db.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, p2p.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, testnet.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, weaksubjectivity.Commands...)
|
|
prysmctlCommands = append(prysmctlCommands, validator.Commands...)
|
|
}
|