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

Add field selection to CSV and JSON outputs #307

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

demestav
Copy link
Contributor

@demestav demestav commented Aug 4, 2024

Closes #253

When the fields option is passed to get_csv_string and get_json_string, the output will include only the specified fields.

@hugovk hugovk added the changelog: Added For new features label Aug 4, 2024
@hugovk
Copy link
Collaborator

hugovk commented Aug 12, 2024

Thanks!

@hugovk hugovk merged commit 5fb898f into prettytable:main Aug 12, 2024
25 of 26 checks passed
@demestav demestav deleted the 253-selected-fields-csv-json branch August 12, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Added For new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support displaying selected fields for CSV format
2 participants