csv-to-sql-insert icon indicating copy to clipboard operation
csv-to-sql-insert copied to clipboard

Suggestion: Support for Different Delimiters

Open walid1508 opened this issue 1 year ago • 0 comments

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 or a configuration file.

Implementation Details:

  • Add a command-line argument to specify the delimiter (e.g., npm start YourFileName --delimiter=;).
  • Modify the readCSV function to use this delimiter when processing CSV files.
  • Update the documentation to explain how to use this new feature.

I would be happy to contribute to this enhancement and submit a PR if this proposal is accepted. Thank you in advance for your consideration.

walid1508 avatar Jul 27 '24 17:07 walid1508