prysm-pulse/cmd/prysmctl/db/cmd.go
Joel Rousseau acc307b959
Command-line interface for visualizing min/max span bucket (#13748)
* add max/min span visualisation tool cli

* go mod tidy

* lint imports

* remove typo

* fix epoch table value

* fix deepsource

* add dep to bazel

* fix dep import order

* change command name from span to slasher-span-display

* change command args style using - instead of _

* sed s/CONFIGURATION/SLASHER PARAMS//

* change double neg to double pos condition

* remove unused anonymous func

* better function naming

* add range condition

* [deepsource] Fix Empty slice literal used to declare a variable
    GO-W1027

* correct typo

* do not show incorrect epochs due to round robin

* fix import

---------

Co-authored-by: Manu NALEPA <enalepa@offchainlabs.com>
2024-03-27 16:15:39 +00:00

16 lines
232 B
Go

package db
import "github.com/urfave/cli/v2"
var Commands = []*cli.Command{
{
Name: "db",
Usage: "commands to work with the prysm beacon db",
Subcommands: []*cli.Command{
queryCmd,
bucketsCmd,
spanCmd,
},
},
}