mirror of https://github.com/coder/coder.git
22 lines
423 B
Go
22 lines
423 B
Go
//go:build slim
|
|
|
|
package cli
|
|
|
|
import "github.com/coder/serpent"
|
|
|
|
func (r *RootCmd) Server(_ func()) *serpent.Command {
|
|
root := &serpent.Command{
|
|
Use: "server",
|
|
Short: "Start a Coder server",
|
|
// We accept RawArgs so all commands and flags are accepted.
|
|
RawArgs: true,
|
|
Hidden: true,
|
|
Handler: func(inv *serpent.Invocation) error {
|
|
SlimUnsupported(inv.Stderr, "server")
|
|
return nil
|
|
},
|
|
}
|
|
|
|
return root
|
|
}
|