When specifying xlsx as the output format but not providing an output file name, the script defaults to writing the Excel output to a TSV file. This causes confusion and improper file handling.
Steps to Reproduce:
Run the script with the -x or --xlsx flag without specifying an output file.
Observe that the output is written in TSV format instead of XLSX.
Expected Behavior:
The script should either prompt the user to specify an output file name when xlsx is selected or default to a meaningful Excel file name such as output.xlsx.
Description:
When specifying
xlsx
as the output format but not providing an output file name, the script defaults to writing the Excel output to a TSV file. This causes confusion and improper file handling.Steps to Reproduce:
-x
or--xlsx
flag without specifying an output file.Expected Behavior:
The script should either prompt the user to specify an output file name when
xlsx
is selected or default to a meaningful Excel file name such asoutput.xlsx
.