()
| 17 | ) |
| 18 | |
| 19 | func NewRootCmd() *cobra.Command { |
| 20 | cmd := &cobra.Command{ |
| 21 | Use: "chat", |
| 22 | Short: "Allows you to interact with your Chat applications", |
| 23 | } |
| 24 | |
| 25 | cmd.AddCommand(app.NewCmds()...) |
| 26 | cmd.AddCommand(channel.NewCmds()...) |
| 27 | cmd.AddCommand(channeltype.NewCmds()...) |
| 28 | cmd.AddCommand(device.NewCmds()...) |
| 29 | cmd.AddCommand(events.NewCmds()...) |
| 30 | cmd.AddCommand(file.NewCmds()...) |
| 31 | cmd.AddCommand(message.NewCmds()...) |
| 32 | cmd.AddCommand(user.NewCmds()...) |
| 33 | cmd.AddCommand(push.NewCmds()...) |
| 34 | cmd.AddCommand(reaction.NewCmds()...) |
| 35 | cmd.AddCommand(watch.NewCmds()...) |
| 36 | |
| 37 | return cmd |
| 38 | } |
no test coverage detected