mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
* chore: add /v2 to import module path go mod requires semantic versioning with versions greater than 1.x This was a mechanical update by running: ``` go install github.com/marwan-at-work/mod/cmd/mod@latest mod upgrade ``` Migrate generated files to import /v2 * Fix gen
19 lines
430 B
Go
19 lines
430 B
Go
package cli
|
|
|
|
import "github.com/coder/coder/v2/cli/clibase"
|
|
|
|
func (r *RootCmd) expCmd() *clibase.Cmd {
|
|
cmd := &clibase.Cmd{
|
|
Use: "exp",
|
|
Short: "Internal commands for testing and experimentation. These are prone to breaking changes with no notice.",
|
|
Handler: func(i *clibase.Invocation) error {
|
|
return i.Command.HelpHandler(i)
|
|
},
|
|
Hidden: true,
|
|
Children: []*clibase.Cmd{
|
|
r.scaletestCmd(),
|
|
},
|
|
}
|
|
return cmd
|
|
}
|