summaryrefslogtreecommitdiff
path: root/internal/askcli/commands_registry.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-26 10:52:01 +0300
committerPaul Buetow <paul@buetow.org>2026-05-26 10:52:01 +0300
commitdb8c5659cb54cbfd0ac1e59888059d45b4fe4d3d (patch)
tree892486e1afda33b144d504bf9152928f2188cd7a /internal/askcli/commands_registry.go
parent327fc7deb16768b9eac4cec57ca143f24dfae4f6 (diff)
feat(askcli): add projects subcommand
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 f999ca3..b288fd4 100644
--- a/internal/askcli/commands_registry.go
+++ b/internal/askcli/commands_registry.go
@@ -187,6 +187,13 @@ var commandRegistry = newCommandTable([]commandEntry{
func init() {
commandRegistry.add(commandEntry{
+ name: "projects",
+ description: "List projects with pending, not-yet-started tasks",
+ handler: wrapSimpleCommand((*Dispatcher).handleProjects),
+ includeInCompletion: true,
+ readOnly: true,
+ })
+ commandRegistry.add(commandEntry{
name: "watch",
description: "Repeatedly run a subcommand and redraw when output changes",
handler: wrapSimpleCommand((*Dispatcher).handleWatch),