We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc1f52 commit 1bc2e5cCopy full SHA for 1bc2e5c
cli/exp_scaletest.go
@@ -1,3 +1,5 @@
1
+//go:build !slim
2
+
3
package cli
4
5
import (
cli/exp_scaletest_slim.go
@@ -0,0 +1,20 @@
+//go:build slim
+package cli
+import "github.com/coder/coder/v2/cli/clibase"
6
7
+func (r *RootCmd) scaletestCmd() *clibase.Cmd {
8
+ cmd := &clibase.Cmd{
9
+ Use: "scaletest",
10
+ Short: "Run a scale test against the Coder API",
11
+ RawArgs: true, // We accept RawArgs so all commands and flags are accepted.
12
+ Hidden: true,
13
+ Handler: func(inv *clibase.Invocation) error {
14
+ SlimUnsupported(inv.Stderr, "exp scaletest")
15
+ return nil
16
+ },
17
+ }
18
19
+ return cmd
20
+}
0 commit comments