Closed netsensei closed 7 years ago
Wouldn't that inhibit piping commands? Or will STDOUT still be supported (e.g. by using '-' as a parameter).
Correct. Gave it some thought. Dumping to STDOUT is perfectly fine in the *NIX philosophy. The only limitation is not being able to use the -v (verbose) flag because that prints to STDOUT a well.
This would only overcomplicate things.
The JSON exporter currently dumps the output to STDOUT. Within the functional scope of this project, that's not a valid data sink. Data should be exported persistently. So, the JSON exporter should dump to a flat file by default.
The same is true for all exporters.