Repository navigation
feat: Add opt-in pretty formatting for jq output - #116
Aditya030207 wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Reply to a comment to ask cubic a question or push back. It learns from your replies.
Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Auto-approval skipped because this PR is from an external contributor.
Re-trigger cubic
Closes #78.
Add
--jq-prettyfor reading or saving structured results from--jq, for example:flagsmith api api/v1/organisations/ --jq '.results' --jq-prettyThe option indents each structured result by two spaces. The existing compact output remains the default, and string results still print raw. The shared renderer covers regular output, the raw API command, and environment documents.
Verified with
go test -race ./...and the docs generator. Added tests for multiple jq results and for flag propagation through the API command.This contribution was prepared with AI coding assistance.