summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-09 08:17:45 -0500
committerBen Sima <ben@bsima.me>2025-11-09 08:17:45 -0500
commit6dbb77b5e7525d0b38434267ca97fdbe16b8ef84 (patch)
tree9845e8b545cb40030a60abdf9a9e0028b35f15b3 /AGENTS.md
parentda3fa44e76e1d6d1ea93cfe9266dd43a996f800c (diff)
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
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md11
1 files changed, 8 insertions, 3 deletions
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=<project>]
+task list [--type=<type>] [--parent=<id>] [--status=<status>] [--namespace=<ns>]
```
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