From 641e5f723215960713ad183d6d99619b64d69467 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 22 Mar 2026 21:22:04 +0200 Subject: ask: add ready command to list READY tasks (not blocked) handleReady passes +READY filter to show actionable tasks only. help text updated. tests updated. --- internal/askcli/dispatch.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/askcli/dispatch.go') diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go index d24fec8..42097c5 100644 --- a/internal/askcli/dispatch.go +++ b/internal/askcli/dispatch.go @@ -38,6 +38,8 @@ func (d Dispatcher) Dispatch(ctx context.Context, args []string, stdin io.Reader return d.handleList(ctx, args, stdout, stderr) case "all": return d.handleAll(ctx, args, stdout, stderr) + case "ready": + return d.handleReady(ctx, args, stdout, stderr) case "dep": return d.handleDep(ctx, args, stdout, stderr) case "urgency": @@ -72,6 +74,7 @@ func (d Dispatcher) help(w io.Writer) (int, error) { io.WriteString(w, "\nSubcommands:\n") io.WriteString(w, " ask add \"description\" Create a new task\n") io.WriteString(w, " ask list [filters] List active tasks (default)\n") + io.WriteString(w, " ask ready List READY tasks (not blocked)\n") io.WriteString(w, " ask all [filters] List all tasks including completed/deleted\n") io.WriteString(w, " ask info Show task details\n") io.WriteString(w, " ask annotate \"note\" Add annotation to task\n") -- cgit v1.2.3