MCPcopy Index your code
hub / github.com/coder/coder / connectCmd

Method connectCmd

cli/connect.go:8–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6)
7
8func (r *RootCmd) connectCmd() *serpent.Command {
9 cmd := &serpent.Command{
10 Use: "connect",
11 Short: "Commands related to Coder Connect (OS-level tunneled connection to workspaces).",
12 Handler: func(i *serpent.Invocation) error {
13 return i.Command.HelpHandler(i)
14 },
15 Hidden: true,
16 Children: []*serpent.Command{
17 r.existsCmd(),
18 },
19 }
20 return cmd
21}
22
23func (*RootCmd) existsCmd() *serpent.Command {
24 cmd := &serpent.Command{

Callers 1

CoreSubcommandsMethod · 0.95

Calls 1

existsCmdMethod · 0.95

Tested by

no test coverage detected