diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-20 13:35:54 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-20 13:35:54 -0500 |
| commit | 0a0ea5a3fec6eae0a4b300918a9a8fc06fcc786f (patch) | |
| tree | e0c7e85f78a893658de345d50f726355bcb57920 /AGENTS.md | |
| parent | 270a8762d8d43fc7bc111c52b66cbc7235ab56cb (diff) | |
Fix docopt flag ordering issue by using [options]
- Changed 'task list' usage from explicit flags to [options] -
Allows flags to be specified in any order (fixes t-10KNtTF) - All
combinations now work: --namespace --status, --status --namespace, etc.
- Updated AGENTS.md examples to use correct status argument format -
All tests passing (28/28)
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,13 +37,13 @@ task init --quiet # Non-interactive initialization task ready --json # 2. Claim a task -task update <id> --status in_progress --json +task update <id> in-progress --json # 3. During work: create discovered issues task create "Fix type error found" --discovered-from=<current-id> --json # 4. Complete the task -task update <id> --status done --json +task update <id> done --json # 5. End of session: sync to git (local commit only) task sync @@ -202,7 +202,7 @@ The `--namespace` option associates the task with a specific namespace in the mo ### List Tasks ```bash -task list [--type=<type>] [--parent=<id>] [--status=<status>] [--namespace=<ns>] +task list [options] # Flags can be in any order ``` Examples: |
