Skip to content

feat: add --format json to spar instance command#44

Open
avrabe wants to merge 1 commit intomainfrom
feat/serde-json-output
Open

feat: add --format json to spar instance command#44
avrabe wants to merge 1 commit intomainfrom
feat/serde-json-output

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 16, 2026

Summary

  • Adds --format json support to spar instance command for machine-readable output

🤖 Generated with Claude Code

The `items` and `analyze` commands already had `--format json` but
`instance` did not. This adds the same flag using the spar-hir facade's
`InstanceNode` serialization, consistent with the existing pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/spar-cli/src/main.rs 0.00% 16 Missing ⚠️

📢 Thoughts on this report? Let us know!

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