(deps commandDeps)
| 756 | } |
| 757 | |
| 758 | func newTaskNotificationCommand(deps commandDeps) *cobra.Command { |
| 759 | cmd := &cobra.Command{ |
| 760 | Use: "notification", |
| 761 | Short: "Manage task terminal notifications", |
| 762 | RunE: func(cmd *cobra.Command, _ []string) error { |
| 763 | return cmd.Help() |
| 764 | }, |
| 765 | } |
| 766 | cmd.AddCommand(newTaskNotificationSubscribeCommand(deps)) |
| 767 | cmd.AddCommand(newTaskNotificationListCommand(deps)) |
| 768 | cmd.AddCommand(newTaskNotificationShowCommand(deps)) |
| 769 | cmd.AddCommand(newTaskNotificationDeleteCommand(deps)) |
| 770 | return cmd |
| 771 | } |
| 772 | |
| 773 | func newTaskNotificationSubscribeCommand(deps commandDeps) *cobra.Command { |
| 774 | input := taskNotificationSubscribeInput{} |
no test coverage detected