Files
cli/cmd/nodecmd/load_test_cmd.go

25 lines
763 B
Go

// Copyright (C) 2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package nodecmd
import (
"github.com/luxfi/cli/v2/pkg/cobrautils"
"github.com/spf13/cobra"
)
func newLoadTestCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "loadtest",
Short: "(ALPHA Warning) Load test suite for an existing subnet on an existing cloud cluster",
Long: `(ALPHA Warning) This command is currently in experimental mode.
The node loadtest command suite starts and stops a load test for an existing devnet cluster.`,
RunE: cobrautils.CommandSuiteUsage,
}
// node loadtest start cluster subnetName
cmd.AddCommand(newLoadTestStartCmd())
// node loadtest stop cluster
cmd.AddCommand(newLoadTestStopCmd())
return cmd
}