NewCmd creates the new cobra command
()
| 28 | |
| 29 | // NewCmd creates the new cobra command |
| 30 | func NewCmd() *cobra.Command { |
| 31 | cmd := cobra.Command{ |
| 32 | Use: "debug [cmd]", |
| 33 | Short: "Command aimed to gather useful debug data", |
| 34 | SilenceErrors: true, |
| 35 | } |
| 36 | |
| 37 | cmd.AddCommand(architectures.NewCmd()) |
| 38 | |
| 39 | return &cmd |
| 40 | } |