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

Export dive information #487

Open
cduverne opened this issue Nov 22, 2023 · 3 comments
Open

Export dive information #487

cduverne opened this issue Nov 22, 2023 · 3 comments
Labels
enhancement Add a new feature

Comments

@cduverne
Copy link

What would you like to be added:
When using dive from a terminal, it would be great to be able to export the result in a file for extra processing.
Exporting to flat files, or even structures ones (like CSV) would be great.

Why is this needed:
So we can build extra processing features on top of several Dive exports.

@cduverne cduverne added the enhancement Add a new feature label Nov 22, 2023
@mark2185
Copy link
Contributor

You can pass it the --json <output-file> flag to write the output as JSON. Would that suffice your needs?

@cduverne
Copy link
Author

Ha that's nice ! It's not in the "-h" doc, right ?
Could be good to add it there.
Will try the JSON output, CSV would also be nice to go for "non-nested" structures.

@mark2185
Copy link
Contributor

I found it by running dive --help, so it is there :)

Will try the JSON output, CSV would also be nice to go for "non-nested" structures.

It would, but until that's implemented I suggest jq to create the format you want/need..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants