mirror of https://github.com/coder/coder.git
20 lines
450 B
Go
20 lines
450 B
Go
package cli
|
|
|
|
import "github.com/coder/serpent"
|
|
|
|
func (r *RootCmd) expCmd() *serpent.Command {
|
|
cmd := &serpent.Command{
|
|
Use: "exp",
|
|
Short: "Internal commands for testing and experimentation. These are prone to breaking changes with no notice.",
|
|
Handler: func(i *serpent.Invocation) error {
|
|
return i.Command.HelpHandler(i)
|
|
},
|
|
Hidden: true,
|
|
Children: []*serpent.Command{
|
|
r.scaletestCmd(),
|
|
r.errorExample(),
|
|
},
|
|
}
|
|
return cmd
|
|
}
|