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

Support formatted JSON output #23

Open
llewelld opened this issue Nov 22, 2024 · 0 comments
Open

Support formatted JSON output #23

llewelld opened this issue Nov 22, 2024 · 0 comments

Comments

@llewelld
Copy link

User story: "As a CLI user, it would sometimes be helpful to have outputs generated as prettified JSON, so that I can better understand the structure of the data and to make the outputs easier to interpret."

Related to #22.

In some cases, such as when listing finance rows, it would be convenient for the output to be displayed in pretty-print format (e.g. with structural indentation). Currently the outputs are shown as a big block of text, which can be hard to parse as a human.

This is related to #22 and, in fact, if the output was valid JSON there would be less need for this, because it would be possible to pipe the outputs directly into a JSON formatter. This would in fact be even better, because it would mean that users could tweak the output based on their individual preference.

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

No branches or pull requests

1 participant