Skip to content

feat: stdin 支持 — 输入传 "-" 即可从管道读 IR - #3

Merged
CodeAlex52 merged 1 commit into
mainfrom
feat/stdin-spec
Oct 11, 2026
Merged

CodeAlex52 merged 1 commit into
mainfrom
feat/stdin-spec

Conversation

@CodeAlex52

Copy link
Copy Markdown
Owner
  • 输入参数为 - 时直接从 stdin 读 spec:cat spec.json | node bin/trace.mjs validate - --json(validate / deliver 均支持)
  • 缺少参数时输出 usage 并以退出码 2 退出
  • 新增 stdin 回归测试;完整套件 8/8 通过
  • README 快速开始补充管道示例

@CodeAlex52
CodeAlex52 merged commit ab90e14 into main Oct 11, 2026
@CodeAlex52
CodeAlex52 deleted the feat/stdin-spec branch October 11, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant