Skip to content

fix: print human-readable output for --dry-run without --json#117

Merged
JoshMock merged 1 commit into
mainfrom
fix/dry-run-text-output
Apr 13, 2026
Merged

fix: print human-readable output for --dry-run without --json#117
JoshMock merged 1 commit into
mainfrom
fix/dry-run-text-output

Conversation

@flobernd
Copy link
Copy Markdown
Member

Summary

  • Fixes --dry-run returns nothing #89--dry-run now prints dry run: inputs valid, no action performed in text mode instead of producing no output
  • JSON mode (--dry-run --json) continues to output {"success":true} as before

Previously, --dry-run only produced output when combined with --json,
returning {"success":true}. Without --json the command exited silently,
which made it appear as though the command failed. Now text mode prints
"dry run: inputs valid, no action performed" so the user gets clear
feedback that validation succeeded.
@flobernd flobernd requested a review from JoshMock April 13, 2026 09:11
@JoshMock JoshMock merged commit 6763b98 into main Apr 13, 2026
16 checks passed
@JoshMock JoshMock deleted the fix/dry-run-text-output branch April 13, 2026 16:24
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.

--dry-run returns nothing

2 participants