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

Don't show file header when outputting json #27

Closed
theduke opened this issue May 12, 2022 · 3 comments
Closed

Don't show file header when outputting json #27

theduke opened this issue May 12, 2022 · 3 comments

Comments

@theduke
Copy link

theduke commented May 12, 2022

When using pqrs cat --json the output still contains the file headers for each file, making it much less useful for quickly converting a file or a bunch of files to JSON.

I feel like the headers should not be present at all when outputting JSON or CSV. There could be an additional flag to add them.

@manojkarthick
Copy link
Owner

The header is already removed when using head with the --json flag, and cat command should work the same way too. Thanks for opening the issue!

@manojkarthick
Copy link
Owner

Hi @theduke, this has been fixed in the master branch. I am working a few other changes, so I'll publish a release in a couple of days.

@theduke
Copy link
Author

theduke commented May 14, 2022

Thanks!

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