Files
coder/enterprise/cli/proxyserver_slim.go
T
Ammar Bandukwala b4c0fa80d8 chore(cli): rename Cmd to Command (#12616)
I think Command is cleaner and my original decision to use "Cmd"
a mistake.

Plus this creates better parity with cobra.
2024-03-17 09:45:26 -05:00

26 lines
527 B
Go

//go:build slim
package cli
import (
agplcli "github.com/coder/coder/v2/cli"
"github.com/coder/serpent"
)
func (r *RootCmd) proxyServer() *serpent.Command {
root := &serpent.Command{
Use: "server",
Short: "Start a workspace proxy server",
Aliases: []string{},
// We accept RawArgs so all commands and flags are accepted.
RawArgs: true,
Hidden: true,
Handler: func(inv *serpent.Invocation) error {
agplcli.SlimUnsupported(inv.Stderr, "workspace-proxy server")
return nil
},
}
return root
}