From a0f7ee1cd4b0833ff45b94e2a35c60227e6ec1e3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 22 Mar 2026 22:26:19 +0200 Subject: ask list: only show pending tasks by default Add status:pending filter to list command so it only shows pending tasks, not completed or deleted ones. Use 'ask all' to see all tasks. --- internal/askcli/command_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/askcli/command_list.go') diff --git a/internal/askcli/command_list.go b/internal/askcli/command_list.go index b5c5429..82b7ff5 100644 --- a/internal/askcli/command_list.go +++ b/internal/askcli/command_list.go @@ -9,7 +9,7 @@ import ( ) func (d Dispatcher) handleList(ctx context.Context, args []string, stdout, stderr io.Writer) (int, error) { - filterArgs := []string{"export"} + filterArgs := []string{"status:pending", "export"} for _, arg := range args[1:] { if strings.HasPrefix(arg, "limit:") || strings.HasPrefix(arg, "sort:") || strings.HasPrefix(arg, "+") || arg == "started" { -- cgit v1.2.3