add cli tool

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-01 01:08:02 +03:00
committed by Daniel Hutzel
parent e33a455154
commit e7be207911
5 changed files with 136 additions and 14 deletions

View File

@@ -13,7 +13,8 @@
"sqlite3": "^5"
},
"scripts": {
"start": "npx cds run"
"start": "npx cds run",
"import:data": "node ./util/importData.js sqlite:chinook.db sqlite:mychinook.db ./db/schema.cds"
},
"cds": {
"requires": {