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

Alternate Formatters? Table, CSV, JSON #7

Closed
geoffreywiseman opened this issue Jan 8, 2023 · 4 comments
Closed

Alternate Formatters? Table, CSV, JSON #7

geoffreywiseman opened this issue Jan 8, 2023 · 4 comments
Milestone

Comments

@geoffreywiseman
Copy link
Contributor

Are people trying to use the output in a different way, and want CSV, JSON or tabular format? Let me know.

@estahn
Copy link

estahn commented Apr 3, 2023

Came here to request CSV output to do some Excel stuff. Basically I want to sort by highest usage, but alternative format would enable more possiblities.

@geoffreywiseman
Copy link
Contributor Author

There's a PR (#25) for TSV that just came in -- I knew I'd filed an issue for this, and I either hadn't noticed your comment or possibly noticed and then forgot, but I'll take a look at the PR.

geoffreywiseman added a commit that referenced this issue Sep 21, 2023
Taking the PR from @kim0 and expanding on it.

I wanted to be able to more easily test the formatters we have so far and make it easy to add more formatters later.

[#7]

Signed-off-by: Geoffrey Wiseman <[email protected]>
@geoffreywiseman
Copy link
Contributor Author

@estahn Ok, so I've made a PR (#26) that expands on that somewhat -- does the TSV format look like it would give you what you'd want?

@geoffreywiseman
Copy link
Contributor Author

I'll release the formatter change with TSV -- feel free to file requests for format changes or other formats. I considered doing JSON as part of this release, but makes sense to drive any additional formatters from the needs of actual users, rather than just me speculating about formats that might be useful, so if you have a need that isn't met with either of the current formatters and you'd like to propose a new formatter or a change to an existing formatter, let me know.

@geoffreywiseman geoffreywiseman added this to the v1.2.0 milestone Sep 21, 2023
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

2 participants