csv-to-sql-insert
csv-to-sql-insert copied to clipboard
Cli handling
Issue #9
The integration of yargs also provides a clear interface for specifying and documenting expected command-line options, making your script more user-friendly.
Using yargs makes your code more readable and maintainable. It separates the concerns of option parsing from the core logic of your script. Additionally, it allows users to easily understand and provide command-line options when running the script.
command: node index.js --saveFileAs output --csvFileName data
I think this will be a nice addition. Things are moving fast after sharing this today and some other updates have been merged. Can you pull the latest and add in your additions (now using TS)? Thank you for the suggestion and for contributing the changes!