Make ls status non-flag argument

This commit is contained in:
2026-05-14 22:32:17 +02:00
parent 7d40159959
commit 94da69a1b2
3 changed files with 9 additions and 13 deletions
+3 -4
View File
@@ -60,7 +60,6 @@ parameters:
type: string
required: false
description: "Filter by status (backlog, committed, reviewing, done)"
cli_flag: "--status"
```
Example adding a ticket:
@@ -93,7 +92,7 @@ Example listing tickets:
input:
status: "backlog"
output: >
worklane ls --status backlog
worklane ls backlog
```
Example listing all tickets (no filter):
@@ -168,7 +167,7 @@ When creating a Worklane ticket, the agent MUST:
The `worklane ls` command lists tickets. Use it to check the state of tickets:
* `worklane ls` — lists all tickets grouped by status without filtering
* `worklane ls --status <STATUS>` — filters tickets by status
* `worklane ls <STATUS>` — filters tickets by status
Valid statuses: `backlog`, `committed`, `reviewing`, `done`
@@ -177,5 +176,5 @@ Valid statuses: `backlog`, `committed`, `reviewing`, `done`
When checking ticket status or filtering work, use `worklane ls` rather than reading from file paths directly. This ensures consistent access to ticket data.
Example patterns:
* Check backlog items: `worklane ls --status backlog`
* Check backlog items: `worklane ls backlog`
* View all tickets: `worklane ls`