From 9be95f24013e27f88f22111415b87041884e3d72 Mon Sep 17 00:00:00 2001 From: Toshii <94262432+0xToshii@users.noreply.github.com> Date: Tue, 14 Oct 2025 14:46:28 -0700 Subject: [PATCH] updating cline task cancel to pause (#6837) --- cli/pkg/cli/task.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/pkg/cli/task.go b/cli/pkg/cli/task.go index a7780483f6..addef7b39a 100644 --- a/cli/pkg/cli/task.go +++ b/cli/pkg/cli/task.go @@ -36,7 +36,7 @@ func NewTaskCommand() *cobra.Command { cmd.AddCommand(newTaskNewCommand()) cmd.AddCommand(newTaskOneshotCommand()) - cmd.AddCommand(newTaskCancelCommand()) + cmd.AddCommand(newTaskPauseCommand()) cmd.AddCommand(newTaskFollowCommand()) cmd.AddCommand(NewTaskSendCommand()) cmd.AddCommand(newTaskViewCommand()) @@ -241,13 +241,13 @@ func newTaskOneshotCommand() *cobra.Command { return cmd } -func newTaskCancelCommand() *cobra.Command { +func newTaskPauseCommand() *cobra.Command { var address string cmd := &cobra.Command{ - Use: "cancel", - Aliases: []string{"c"}, - Short: "Cancel the current task", + Use: "pause", + Aliases: []string{"p"}, + Short: "Pause the current task", RunE: func(cmd *cobra.Command, args []string) error { ctx := cmd.Context() @@ -259,7 +259,7 @@ func newTaskCancelCommand() *cobra.Command { return err } - fmt.Println("Task cancelled successfully") + fmt.Println("Task paused successfully") fmt.Printf("Instance: %s\n", taskManager.GetCurrentInstance()) return nil },