summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-22 19:45:02 +0200
committerPaul Buetow <paul@buetow.org>2026-03-22 19:45:02 +0200
commit97cb0462aad67bf1e9558b340f5ef2f5a72eb662 (patch)
treea0c3a7912adbe05c75c9a6d290667976d7054149 /internal/askcli/dispatch.go
parent3f06d7dadb83d78f0913b1c1c9a9297826e107b1 (diff)
Implement 'ask delete' subcommand: forward to Taskwarrior, suppress output, print UUID+success
Diffstat (limited to 'internal/askcli/dispatch.go')
-rw-r--r--internal/askcli/dispatch.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go
index b764618..fc1c67b 100644
--- a/internal/askcli/dispatch.go
+++ b/internal/askcli/dispatch.go
@@ -29,8 +29,10 @@ func (d Dispatcher) Dispatch(ctx context.Context, args []string, stdin io.Reader
subcommand := args[0]
switch subcommand {
case "add", "list", "info", "annotate", "start", "stop", "done",
- "priority", "tag", "dep", "urgency", "modify", "denotate", "delete", "export":
+ "priority", "tag", "dep", "urgency", "modify", "denotate", "export":
return d.runner.Run(ctx, args, stdin, stdout, stderr)
+ case "delete":
+ return d.handleDelete(ctx, args, stdout, stderr)
default:
return d.unknownCommand(stderr, subcommand)
}