Skip to content

Add JSON output to operational commands - #72

Merged
sauravpanda merged 1 commit into
mainfrom
agent/json-command-output
Aug 19, 2026
Merged

Add JSON output to operational commands#72
sauravpanda merged 1 commit into
mainfrom
agent/json-command-output

Conversation

@sauravpanda

Copy link
Copy Markdown
Owner

Summary

  • add stable JSON schemas to stats, status, and sync
  • keep stdout machine-readable by suppressing progress and capturing git output in JSON mode
  • report per-worktree sync outcomes as synced, skipped, or failed
  • document the agent- and CI-friendly command forms

Validation

  • go test ./...
  • go vet ./...
  • go build ./...
  • parsed real stats --json, status --json, and sync --dry-run --json output with jq

Closes #58

@sauravpanda
sauravpanda marked this pull request as ready for review August 19, 2026 00:17
@sauravpanda
sauravpanda merged commit ab5733e into main Aug 19, 2026
2 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.

feat: add --json output to stats, status, sync

1 participant