()
| 28 | ) |
| 29 | |
| 30 | func (r *RootCmd) support() *serpent.Command { |
| 31 | supportCmd := &serpent.Command{ |
| 32 | Use: "support", |
| 33 | Short: "Commands for troubleshooting issues with a Coder deployment.", |
| 34 | Handler: func(inv *serpent.Invocation) error { |
| 35 | return inv.Command.HelpHandler(inv) |
| 36 | }, |
| 37 | Children: []*serpent.Command{ |
| 38 | r.supportBundle(), |
| 39 | }, |
| 40 | } |
| 41 | return supportCmd |
| 42 | } |
| 43 | |
| 44 | var supportBundleBlurb = cliui.Bold("This will collect the following information:\n") + |
| 45 | ` - Coder deployment version |
no test coverage detected