Closed kpym closed 2 years ago
In version 1.17.1, when the --format option is not specified, the file specified by the --out option will be output in a specific format if it has the following extensions.
file extension | format |
---|---|
.csv | CSV |
.tsv | TSV |
.json | JSON |
.jsonl | JSON Lines |
.ltsv | LTSV |
.md | GFM |
.org | ORG |
Thanks for considering my request !
I know that we can specify the output format with
-f
flag, but if we runthe resulting
test.json
file is intext
format not injson
, as the default output format is alwaystext
. It will be nice if the default format depends on the specified output :-o
option is used) then the extension can be used to set it;csv
format should be used (as I already requested in #71).Thanks for your work on this fantastic tool 🙏