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