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

Add scripts to package.json with file parameter

Open gitdagray opened this issue 1 year ago • 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

gitdagray avatar Dec 22 '23 17:12 gitdagray

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.

KingiDE avatar Dec 22 '23 19:12 KingiDE