()
| 6 | ) |
| 7 | |
| 8 | func (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 | |
| 23 | func (*RootCmd) existsCmd() *serpent.Command { |
| 24 | cmd := &serpent.Command{ |
no test coverage detected