summaryrefslogtreecommitdiff
path: root/internal/askcli/commands_registry.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-31 10:07:41 +0300
committerPaul Buetow <paul@buetow.org>2026-05-31 10:07:41 +0300
commit0dfcb0f3fe6db144f02506df95e68707d9b5091c (patch)
treeed6c0b976acca95b403a7939dd49c49de160003b /internal/askcli/commands_registry.go
parent168d3a1009066ba38a37fe8a2f8f40a649344eae (diff)
ask: add completed sub-command to list completed tasks
Diffstat (limited to 'internal/askcli/commands_registry.go')
-rw-r--r--internal/askcli/commands_registry.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/askcli/commands_registry.go b/internal/askcli/commands_registry.go
index b288fd4..c755560 100644
--- a/internal/askcli/commands_registry.go
+++ b/internal/askcli/commands_registry.go
@@ -100,6 +100,13 @@ var commandRegistry = newCommandTable([]commandEntry{
readOnly: true,
},
{
+ name: "completed",
+ description: "List completed tasks",
+ handler: wrapSimpleCommand((*Dispatcher).handleCompleted),
+ includeInCompletion: true,
+ readOnly: true,
+ },
+ {
name: "info",
description: "Show task details",
handler: wrapSimpleCommand((*Dispatcher).handleInfo),