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: "show [cmd]", |
| 33 | Short: "Useful data printing subfeature", |
| 34 | SilenceErrors: true, |
| 35 | } |
| 36 | |
| 37 | cmd.AddCommand(walarchivequeue.NewCmd()) |
| 38 | |
| 39 | return &cmd |
| 40 | } |