@coderpp/yunxiao-cli 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -361,6 +361,14 @@ node dist/src/index.js workitem list --project-ids project-id-1,project-id-2 --a
361
361
  node dist/src/index.js workitem list --project-ids project-id-1,project-id-2 --assigned-to user-id --state done
362
362
  ```
363
363
 
364
+ 按创建人查询工作项:
365
+
366
+ ```bash
367
+ node dist/src/index.js workitem list --project-ids project-id-1,project-id-2 --created-by user-id
368
+ ```
369
+
370
+ `--created-by` 支持逗号分隔多个用户 ID,也可以使用等价参数 `--creator`。
371
+
364
372
  按时间范围查询工作项:
365
373
 
366
374
  ```bash
package/dist/src/cli.js CHANGED
@@ -321,7 +321,7 @@ function workitemConditions(flags) {
321
321
  const rawConditions = optionalString(flags.conditions);
322
322
  const filters = [];
323
323
  const assignedTo = optionalString(flags["assigned-to"]) ?? optionalString(flags.assignee);
324
- const creator = optionalString(flags.creator);
324
+ const creator = optionalString(flags["created-by"]) ?? optionalString(flags.creator);
325
325
  const statusIds = optionalString(flags["status-ids"]);
326
326
  const subject = optionalString(flags.subject);
327
327
  const from = optionalString(flags.from) ?? optionalString(flags["created-after"]);
@@ -477,7 +477,10 @@ function formatTable(rows) {
477
477
  "endTime",
478
478
  "endTimeText",
479
479
  "createTime",
480
+ "gmtCreate",
480
481
  "assignedTo",
482
+ "creator",
483
+ "createdBy",
481
484
  "userId",
482
485
  "userName",
483
486
  "roleName",
@@ -706,7 +709,7 @@ Usage:
706
709
  yunxiao pipeline runs <pipelineId> [--status FAIL] [--start-time 1729178040000] [--end-time 1729181640000] [--output table|json]
707
710
  yunxiao pipeline run <pipelineId> <pipelineRunId> [--output table|json]
708
711
  yunxiao pipeline retry-job <pipelineId> <pipelineRunId> <jobId> --yes [--output table|json]
709
- yunxiao workitem list --project-ids p1,p2 [--assigned-to userId] [--state todo|doing|done] [--from "2026-04-01 00:00:00"] [--to "2026-04-30 23:59:59"]
712
+ yunxiao workitem list --project-ids p1,p2 [--assigned-to userId] [--created-by userId] [--state todo|doing|done] [--from "2026-04-01 00:00:00"] [--to "2026-04-30 23:59:59"]
710
713
  yunxiao workitem mine --project-ids p1,p2 [--state todo|doing|done] [--output table|json]
711
714
  yunxiao workitem get <workitemId> [--output table|json]
712
715
  yunxiao workitem update <workitemId> --yes [--assigned-to userId] [--participants user1,user2] [--due-date "2026-05-01 18:00:00"] [--field key=value]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderpp/yunxiao-cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "A CLI for Yunxiao merge request, pipeline retry, project member, and workitem workflows.",
5
5
  "type": "module",
6
6
  "repository": {