You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, each command defines its own structs just for JSON rendering. Would be great if the command would build kind of response, which will be rendered as Plain text or JSON depending on --json flag automatically.
The text was updated successfully, but these errors were encountered:
avsej
changed the title
Generict approach to rendering command output with --json flag
Generic approach to rendering command output with --json flag
May 9, 2024
Right now, each command defines its own structs just for JSON rendering. Would be great if the command would build kind of response, which will be rendered as Plain text or JSON depending on
--json
flag automatically.The text was updated successfully, but these errors were encountered: