Skip to content

fix(cli): reject fetch-only output modes in parse mode - #68

Merged
yusukebe merged 1 commit into
yusukebe:mainfrom
yearth:codex/reject-fetch-output-flags-in-parse-mode
Aug 5, 2026
Merged

fix(cli): reject fetch-only output modes in parse mode#68
yusukebe merged 1 commit into
yusukebe:mainfrom
yearth:codex/reject-fetch-output-flags-in-parse-mode

Conversation

@yearth

@yearth yearth commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • reject --body and -o/--output outside URL fetch mode
  • fail before file or network I/O with an actionable hint
  • preserve existing fetch behavior and JSON envelope error precedence

Tests

  • bunx tsc --noEmit
  • bunx oxfmt --check .
  • bun test --timeout 30000 (276 pass)
  • bun run build

@yusukebe yusukebe left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yusukebe

yusukebe commented Aug 5, 2026

Copy link
Copy Markdown
Owner

@yearth Thank you!!

@yusukebe
yusukebe merged commit 8abbca2 into yusukebe:main Aug 5, 2026
3 checks passed
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.

2 participants