summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
diff options
context:
space:
mode:
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)
}