Files
coder/cli/exp_scaletest_slim.go
Cian Johnston 9aac15212b fix(cli): remove exp scaletest from slim binary (#9934)
- Removes the `exp scaletest` command from the slim binary 
- Updates scaletest-runner template to fetch the full binary from the running Coder instance
2023-10-03 15:13:04 +01:00

19 lines
355 B
Go

//go:build slim
package cli
import "github.com/coder/coder/v2/cli/clibase"
func (r *RootCmd) scaletestCmd() *clibase.Cmd {
cmd := &clibase.Cmd{
Use: "scaletest",
Short: "Run a scale test against the Coder API",
Handler: func(inv *clibase.Invocation) error {
SlimUnsupported(inv.Stderr, "exp scaletest")
return nil
},
}
return cmd
}