MCPcopy Create free account
hub / github.com/compozy/agh / newTaskNotificationCommand

Function newTaskNotificationCommand

internal/cli/task.go:758–771  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

756}
757
758func 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
773func newTaskNotificationSubscribeCommand(deps commandDeps) *cobra.Command {
774 input := taskNotificationSubscribeInput{}

Callers 1

newTaskCommandFunction · 0.85

Tested by

no test coverage detected