mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
25 lines
763 B
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
|
|
}
|