NewCmd creates the new "logs" command
()
| 28 | |
| 29 | // NewCmd creates the new "logs" command |
| 30 | func NewCmd() *cobra.Command { |
| 31 | logsCmd := &cobra.Command{ |
| 32 | Use: "logs", |
| 33 | Short: "Logging utilities", |
| 34 | GroupID: plugin.GroupIDTroubleshooting, |
| 35 | } |
| 36 | |
| 37 | logsCmd.AddCommand(clusterCmd()) |
| 38 | logsCmd.AddCommand(pretty.NewCmd()) |
| 39 | |
| 40 | return logsCmd |
| 41 | } |
no test coverage detected