wagoodman/dive

Export dive information

cduverne opened this issue · 3 comments

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.

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

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.

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..