diff --git a/app/client/cli/peer/connections.go b/app/client/cli/peer/connections.go new file mode 100644 index 000000000..240124463 --- /dev/null +++ b/app/client/cli/peer/connections.go @@ -0,0 +1,25 @@ +//go:build debugt + +package peer + +import ( + "github.com/pokt-network/pocket/app/client/cli" + "github.com/pokt-network/pocket/shared/modules" + "github.com/spf13/cobra" + "log" +) + +var connectionsCmd = &cobra.Command{ + Use: "connections", + Short: "Print open peer connections", + RunE: connectionsRunE, +} + +func connectionsRunE(cmd *cobra.Command, _ []string) error { + bus, ok := cli.GetValueFromCLIContext[modules.Bus](cmd, cli.BusCLICtxKey) + if !ok { + log.Fatal("unable to get bus from context") + } + + return nil +}