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

feat: add json output for info command #284

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Conversation

whjum
Copy link
Contributor

@whjum whjum commented Mar 13, 2024

This pull request should add the requested feature mentioned in issue #283.

I am not sure whether there will be more than one support formats so I use Enum instead of plain string. Feel free to revert or modify the type to the one fits best for the need.

Thanks for the fast response :)

@j178
Copy link
Owner

j178 commented Mar 13, 2024

Hi, thanks for the PR —it's looking great!

I've gone ahead and refactored it a bit by organizing various formatting codes into dedicated functions. I hope that's okay with you. Thanks again!

@j178 j178 merged commit 4496dc1 into j178:master Mar 13, 2024
2 checks passed
@whjum whjum deleted the add-json-output branch March 13, 2024 14:28
@whjum
Copy link
Contributor Author

whjum commented Mar 13, 2024

Looks clean and neat. Thank you for reviewing 👍

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.

2 participants