mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
25 lines
497 B
Go
25 lines
497 B
Go
//go:build slim
|
|
|
|
package cli
|
|
|
|
import (
|
|
agplcli "github.com/coder/coder/v2/cli"
|
|
"github.com/coder/serpent"
|
|
)
|
|
|
|
func (r *RootCmd) provisionerDaemonStart() *serpent.Command {
|
|
cmd := &serpent.Command{
|
|
Use: "start",
|
|
Short: "Run a provisioner daemon",
|
|
// We accept RawArgs so all commands and flags are accepted.
|
|
RawArgs: true,
|
|
Hidden: true,
|
|
Handler: func(inv *serpent.Invocation) error {
|
|
agplcli.SlimUnsupported(inv.Stderr, "provisioner start")
|
|
return nil
|
|
},
|
|
}
|
|
|
|
return cmd
|
|
}
|