diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-22 22:26:19 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-22 22:26:19 +0200 |
| commit | a0f7ee1cd4b0833ff45b94e2a35c60227e6ec1e3 (patch) | |
| tree | cf85a206d88431dc88c6d882d07ff2a9fb70f331 /internal/askcli/command_list.go | |
| parent | f6ce62d4e5cefc4a7761bbb86f329ad08ba57570 (diff) | |
ask list: only show pending tasks by defaultv0.25.3
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.
Diffstat (limited to 'internal/askcli/command_list.go')
| -rw-r--r-- | internal/askcli/command_list.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" { |
