Skip to content

feat: Add --raw-json flag and fix --json output#669

Merged
arjankowski merged 1 commit intomainfrom
SDK-5975
Apr 22, 2026
Merged

feat: Add --raw-json flag and fix --json output#669
arjankowski merged 1 commit intomainfrom
SDK-5975

Conversation

@arjankowski
Copy link
Copy Markdown
Contributor

@arjankowski arjankowski commented Apr 22, 2026

  • adjusted the --json flag so it works correctly with all recently added hubs commands
  • added a new --raw-json flag for commands that use tsClient (such as ai or integrations). When set, it outputs the correct JSON based on the schema, whereas the regular --json flag displays renamed fields instead.

@arjankowski arjankowski requested a review from a team April 22, 2026 11:28
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 24775792512

Coverage at 85.036% (no base build to compare)

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 1 uncovered change across 1 file (25 of 26 lines covered, 96.15%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
src/box-command.js 14 13 92.86%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 6025
Covered Lines: 5370
Line Coverage: 89.13%
Relevant Branches: 2141
Covered Branches: 1574
Branch Coverage: 73.52%
Branches in Coverage %: Yes
Coverage Strength: 650.29 hits per line

💛 - Coveralls

Copy link
Copy Markdown
Collaborator

@Pask423 Pask423 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Copy Markdown
Contributor

@lukaszsocha2 lukaszsocha2 left a comment

Choose a reason for hiding this comment

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

LGTM

@arjankowski arjankowski merged commit ee6d61d into main Apr 22, 2026
19 checks passed
@arjankowski arjankowski deleted the SDK-5975 branch April 22, 2026 13:46
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.

4 participants