dilshod / xlsx2csv

Convert xslx to csv, it is fast, and works for huge xlsx files
MIT License
1.68k stars 303 forks source link

stdin: fix false no file test and add tests for stdin #271

Closed ferdinandyb closed 11 months ago

ferdinandyb commented 11 months ago

Commit 5a14efcef broke input from stdin, with the check added for actually existing files. Add an exception when the file input is "-" so reading from stdin works again. The original commit that introduced this feature did not include documentation. Add documentation to "--help", manpages and the README. Add testing for reading from stdin with python3 so future commits will not break the feature unintentionally.

Fixes: #270