gitdagray/csv-to-sql-insert

Add scripts to package.json with file parameter

gitdagray opened this issue · 1 comments

When I created this Node.js script, I just ran it from the command line with:
node . csvFileName

It would be nice to have start and dev scripts in the package.json file that allow a csv parameter to be passed to the script.

For example: npm run dev --csv=filename

I think this issue can be "merged" with #9 because it basically does the same. Both add an mor user friendly way to run the program.