From 6dbb77b5e7525d0b38434267ca97fdbe16b8ef84 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 9 Nov 2025 08:17:45 -0500 Subject: Add enhanced filtering to task list command Implement --status and --namespace filters for task list: New filters: - --status: Filter by open, in-progress, or done - --namespace: Filter by namespace (e.g., Omni/Task) All filters can be combined: - task list --parent=t-abc123 --status=open - task list --type=epic --status=done - task list --namespace="Omni/Task" --status=open Updated listTasks signature to accept all filter parameters and apply them in sequence. Updated AGENTS.md with examples. Closes task t-PpZGVf --- AGENTS.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index ab91f8b..653e8f3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -52,13 +52,18 @@ The `--namespace` option associates the task with a specific namespace in the mo ### List Tasks ```bash -task list [--project=] +task list [--type=] [--parent=] [--status=] [--namespace=] ``` Examples: ```bash -task list # All tasks -task list --project=auth # Filter by project +task list # All tasks +task list --type=epic # All epics +task list --parent=t-abc123 # All tasks in an epic +task list --status=open # All open tasks +task list --status=done # All completed tasks +task list --namespace="Omni/Task" # All tasks for a namespace +task list --parent=t-abc123 --status=open # Combine filters: open tasks in epic ``` ### Get Ready Work -- cgit v1.2.3