csv-to-sql-insert
csv-to-sql-insert copied to clipboard
Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
## Type of change Updated the index.ts file ## Details As asked in the [issue](https://github.com/gitdagray/csv-to-sql-insert/issues/71), I had to make necessary changes into the index.ts file The overall readability of the...
The current script reads CSV files using a comma (,) as the default delimiter. I propose adding the ability to specify different delimiters (e.g., tab, semicolon) via a command-line argument...
Hello, i would like to add comments on the each functions
**Command-line Argument for Custom Delimiter:** Added --delimiter option to specify custom delimiters (e.g., npm start YourFileName --delimiter=;) Implemented parsing of this new command-line argument in the parseArguments function. **Delimiter Auto-detection:**...
I've successfully updated your issue in the Usage section of you Readme by specifying and by giving appropriate example of the file name in the code.