Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/oasis-node/cmd: Use pretty-printed variant when outputting JSON #4266

Merged
merged 4 commits into from
Sep 22, 2021

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Sep 17, 2021

Add PrettyJSONMarshal() helper to unify how things are outputted to JSON.

@tjanez tjanez added the c:cli Category: command line interface label Sep 17, 2021
@tjanez tjanez force-pushed the tjanez/cmd-pretty-json branch from 5472dd7 to 9b22a1d Compare September 17, 2021 12:08
@tjanez tjanez force-pushed the tjanez/cmd-pretty-json branch from 9b22a1d to 2133944 Compare September 22, 2021 10:19
@tjanez tjanez force-pushed the tjanez/cmd-pretty-json branch from 2133944 to 9f45a50 Compare September 22, 2021 11:16
@tjanez tjanez enabled auto-merge September 22, 2021 11:18
@tjanez tjanez merged commit ac71808 into master Sep 22, 2021
@tjanez tjanez deleted the tjanez/cmd-pretty-json branch September 22, 2021 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:cli Category: command line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants