cmd/workload: move filter commands up one level

This commit is contained in:
Felix Lange 2025-02-26 13:03:11 +01:00
parent 509548977f
commit a140ef6d7c
3 changed files with 5 additions and 12 deletions

View file

@ -33,16 +33,8 @@ import (
)
var (
filterCommand = &cli.Command{
Name: "filter",
Usage: "Log filter workload test commands",
Subcommands: []*cli.Command{
filterGenCommand,
filterPerfCommand,
},
}
filterGenCommand = &cli.Command{
Name: "generate",
filterGenerateCommand = &cli.Command{
Name: "filtergen",
Usage: "Generates query set for log filter workload test",
ArgsUsage: "<RPC endpoint URL>",
Action: filterGenCmd,

View file

@ -28,7 +28,7 @@ import (
var (
filterPerfCommand = &cli.Command{
Name: "performance",
Name: "filterperf",
Usage: "Runs log filter performance test against an RPC endpoint",
ArgsUsage: "<RPC endpoint URL>",
Action: filterPerfCmd,

View file

@ -48,7 +48,8 @@ func init() {
app.Commands = []*cli.Command{
runTestCommand,
historyGenerateCommand,
filterCommand,
filterGenerateCommand,
filterPerfCommand,
}
}